Skip to content

Commit

Permalink
feat: filter spamming logs from stdout (pending packets list is full)
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-fabian-pittroff committed Apr 1, 2024
1 parent 2ca99c8 commit 08a7468
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/default/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ setupSyslog() {
\$template custom,"%timegenerated:1:10:date-rfc3339% %timegenerated:12:23:date-rfc3339% %syslogtag%%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n"
\$ActionFileDefaultTemplate custom
:msg, contains, "[session] Pending packets list is full" ~
*.*;cron,auth,authpriv.none /proc/self/fd/1 # send everything to stdout
EOF

Expand Down

0 comments on commit 08a7468

Please sign in to comment.