From 909c1f5b805c4487cfc9b9a651df3b1848b810d1 Mon Sep 17 00:00:00 2001 From: Yevhen Fastiuk Date: Mon, 22 May 2023 22:39:57 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=BA=20show:=20adjust=20syslog=20runnin?= =?UTF-8?q?gconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yevhen Fastiuk --- show/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/show/main.py b/show/main.py index 2d21e1b3aa2..f9724bc55f0 100755 --- a/show/main.py +++ b/show/main.py @@ -1684,7 +1684,7 @@ def syslog(verbose): header = ["Syslog Servers"] body = [] - re_syslog = re.compile(r'^\*\.\* action\(.*target=\"{1}(.+?)\"{1}.*\)') + re_syslog = re.compile(r'^action\(type=\"omfwd\" Target=\"{1}(.+?)\"{1}.*\)') try: with open("/etc/rsyslog.conf") as syslog_file: