Skip to content

Commit

Permalink
Rsyslog debian: New format config
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Nov 27, 2023
1 parent a7df3e2 commit 952cde9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions roles/rsyslog/templates/rsyslog_onlyforward.conf.j2
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 952cde9

Please sign in to comment.