stats_freq ignored in config version 3.0?
Hi, I've just upgraded syslog-ng up to 3.0.4 and configuration files up to version 3.0. Now I have the following config: ======================================================== @version:3.0 options { stats_freq(4320); }; source src { unix-stream("/dev/log" max-connections(256)); internal(); }; destination messages { file("/var/log/messages"); }; log { source(src); destination(messages); }; ======================================================== The problem I experience is that -- MARK -- is printed every 20 minutes no matter what I put into /etc/syslog-ng/syslog-ng.conf stats_freq option argument: Nov 12 17:56:32 stage4 syslog-ng[25815]: syslog-ng starting up; version='3.0.4' Nov 12 18:16:32 stage4 -- MARK -- Nov 12 18:36:32 stage4 -- MARK -- Does anybody else experience this? What could cause this? I've managed to reproduce this problem on two linux systems with kernel 2.6.27 and 2.6.31. How to debug this kind of problem? Thanks in advance for any hint. -- Peter.
Hi,
The problem I experience is that -- MARK -- is printed every 20 minutes no matter what I put into /etc/syslog-ng/syslog-ng.conf stats_freq option argument:
You should use mark_freq, stats_freq controls a different thing. Regards, Sandor
В Чтв, 12/11/2009 в 15:06 +0100, Sandor Geller пишет:
You should use mark_freq, stats_freq controls a different thing.
Thank you, Sandor. Sometimes evidentest things take lots of time. -- Peter.
participants (2)
-
Peter Volkov
-
Sandor Geller