[syslog-ng] defining stats() option causes syntax error when
starting syslog-ng
def
def at notamused.org
Fri Jan 13 05:19:01 CET 2006
My syslog is filled with STATS lines every 2 minutes so I decided to
delay the stats every 1 hour, or 3600 seconds. I added this to my
options line but it causes a syntax error in the conf. The problem also
occurred in the previous 1.9 build.
Slackware 10.2
# uname -a && syslog-ng -V
Linux santo 2.6.14.3 #1 Wed Dec 7 22:59:32 EST 2005 i686 unknown unknown
GNU/Linux
syslog-ng 1.9.8
# cat /usr/local/etc/syslog-ng.conf | grep options
options { stats(3600); long_hostnames(off); sync(0); };
I stop and start syslog-ng. rc.syslog is a script i found but it also
happens when just executing syslog-ng by itself.
root at santo:/etc/rc.d# ./rc.syslog start
syslog-ng service starting.
syntax error at 12
root at santo:/etc/rc.d#
Now I remove the stats() option
# cat /usr/local/etc/syslog-ng.conf | grep options
options { long_hostnames(off); sync(0); };
root at santo:/etc/rc.d# ./rc.syslog start
syslog-ng service starting.
root at santo:/etc/rc.d#
syslog-ng starts successfully
Thanks for any help you may be able to provide
-Sean
More information about the syslog-ng
mailing list