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)