FS#6980 - syslog-ng stats flooding syslog
Attached to Project:
Arch Linux
Opened by mangus (mangus) - Sunday, 22 April 2007, 22:03 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 07 March 2009, 16:17 GMT
Opened by mangus (mangus) - Sunday, 22 April 2007, 22:03 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 07 March 2009, 16:17 GMT
|
Details
I find quite annoying syslog-ng flooding syslog and
eventually an
attached tty with his atats every 10 minutes. According with doc it can be limited to a more realable time , say a stats report every 12 hours adding this to options: # The default action of syslog-ng 1.6.0 is to log a STATS line # to the file every 10 minutes. That?s pretty ugly after a while. # Change it to every 12 hours so you get a nice daily update of # how many messages syslog-ng missed (0). stats(43200); |
Closed by Tobias Powalowski (tpowa)
Saturday, 07 March 2009, 16:17 GMT
Reason for closing: Fixed
Additional comments about closing: fixed syslog-ng 3.0.1 in testing
Saturday, 07 March 2009, 16:17 GMT
Reason for closing: Fixed
Additional comments about closing: fixed syslog-ng 3.0.1 in testing
One option is to add "stats (0);"
ref: http://bbs.archlinux.org/viewtopic.php?id=14109
new options:
stats_freq (0); # replaces stats
mark_freq (0); # new
flush_lines (0); # replaces sync
Can these new options be changed/added to the default .conf file?
Log statistics; processed='center(queued)=2602', processed='center(received)=1045', processed='destination(acpid)=7', processed='destination(console)=0', processed='destination(debug)=0', processed='destination(mail)=0', processed='destination(user)=0', processed='destination(uucp)=0', processed='destination(messages)=592', processed='destination(ppp)=0', processed='destination(news)=0', processed='destination(iptables)=0', processed='destination(everything)=970', processed='destination(lpr)=0', processed='destination(cron)=0', processed='destination(syslog)=267', processed='destination(authlog)=75', processed='destination(errors)=3', processed='destination(kernel)=641', processed='destination(daemon)=47', processed='destination(console_all)=0', processed='source(src)=1045'
Again, can this be reduced in the default .conf file?