From 952cde9a3e8242bb2e869cd4b1a6dcb22cda7a24 Mon Sep 17 00:00:00 2001 From: Bart Geesink Date: Mon, 27 Nov 2023 13:53:51 +0100 Subject: [PATCH] Rsyslog debian: New format config --- roles/rsyslog/templates/rsyslog_onlyforward.conf.j2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/rsyslog/templates/rsyslog_onlyforward.conf.j2 b/roles/rsyslog/templates/rsyslog_onlyforward.conf.j2 index 10ff783bc..de99bdcc3 100644 --- a/roles/rsyslog/templates/rsyslog_onlyforward.conf.j2 +++ b/roles/rsyslog/templates/rsyslog_onlyforward.conf.j2 @@ -1,8 +1,7 @@ # This rsyslog configuration takes logs from journald and forwards them to a remote log serverad="imuxsock") # provides support for local system logging +module(load="imuxsock") module(load="imklog") # provides kernel logging support -module(load="immark" - MarkMessagePeriod="600" - ) # provides --MARK-- message capability +module(load="immark" interval="600" ) # provides --MARK-- message capability module(load="imjournal" PersistStateInterval="100" StateFile="/var/spool/rsyslog/imjournal.state"