Skip to content

Commit

Permalink
Remove imjournal plugin when only forwarding. On our Debian hosts,
Browse files Browse the repository at this point in the history
journald automatically forwards to rsyslog. With the imjournal plugin
present log entries would be duplicated in the logs
  • Loading branch information
quartje committed May 29, 2024
1 parent a54fce0 commit 843c197
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions roles/rsyslog/templates/rsyslog_onlyforward.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
module(load="imuxsock")
module(load="imklog") # provides kernel logging support
module(load="immark" interval="600" ) # provides --MARK-- message capability
module(load="imjournal"
PersistStateInterval="100"
StateFile="/var/spool/rsyslog/imjournal.state"
ratelimit.interval="30"
ratelimit.burst="20000" ) # Reads journald logs

$PreserveFQDN on

Expand Down

0 comments on commit 843c197

Please sign in to comment.