Sandor, Thanks for you response. The logs are generated on the same host. (Originally there were separate hosts logging to this host, but we consolidated them onto the single server.) Hmm. Just noticed that there seem to be two processes running! On further inspection one of them was reading the /etc/syslog-ng/syslog-ng.conf file and the other must have been reading the one in /opt/syslog-ng/etc/syslog-ng.conf I put SYSLOGNG_OPTIONS="$SYSLOGNG_OPTIONS --cfgfile /etc/syslog-ng/syslog-ng.conf" in /etc/default/syslog-ng and it seems to be working now. Well, actually, every 20 minutes now getting messages saying* Nov 2 21:21:01 domU-12-31-39-07-3D-F1 -- MARK -- * And am able to turn it off with mark_freq(0). Okay, everything's good. Thanks. Liam Sandor Geller wrote:
I'm filtering statistical messages based on the internal source and the following regexp:
filter f_internal_statistics { match("^syslog-ng\[[[:digit:]]+\]: STATS") or match ("^syslog-ng\[[[:digit:]]+\]: Log statistics"); };
(for 3.x only the latter match is needed)
600 seconds is the default setting, the timer gets activated only when stats_freq > 0 so stats_freq(0) should turn off the generation of statistical messages completely. Are the logs generated on the same host or are you processing remote logs as well?
On Sat, Oct 30, 2010 at 10:17 PM, Liam Kirsher <liamk@numenet.com> wrote:
My log file is filling up with statistics messages from syslog-ng (v. 3.1.2) , one message every 10 minutes. I tried turning it off by putting stats_freq(0) in the options clause, and restarted the syslog-ng daemon but that seems to have no effect. There must be something obvious I'm missing.
-- Liam Kirsher PGP: http://liam.numenet.com/pgp/
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
-- Liam Kirsher PGP: http://liam.numenet.com/pgp/