From 77a5fdac6fd78429223ebd6a9146ef93f8362d20 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Tue, 2 Mar 2021 00:54:59 +0100 Subject: [PATCH] Remove some duplicate logs from syslog.log --- roles/rsyslog_common/templates/10-common.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/rsyslog_common/templates/10-common.conf.j2 b/roles/rsyslog_common/templates/10-common.conf.j2 index ffc48de..36cd4dc 100644 --- a/roles/rsyslog_common/templates/10-common.conf.j2 +++ b/roles/rsyslog_common/templates/10-common.conf.j2 @@ -63,8 +63,8 @@ ruleset(name="sendLogsToDisk") { auth,authpriv.* action(type="omfile" file="/var/log/auth.log") mail.* action(type="omfile" file="/var/log/mail.log" sync="off") kern.* action(type="omfile" file="/var/log/kern.log") - *.*;auth,authpriv.none action(type="omfile" file="/var/log/syslog.log" - sync="off") + *.*;auth,authpriv,mail,kern.none action(type="omfile" + file="/var/log/syslog.log" sync="off") } # Send logs to remote collector(s)