[syslog-ng] checking configuration file syntax

Pavel Shaydo pshaydo at elverils.com
Wed Dec 10 11:15:55 CET 2008


Hello all!

I'm trying to automate configuration file syntax checking and can't
figure out how I can do it. According to manual -s option should perform
syntax checking. I'm trying following:

syslog-ng -s -f file-to-check

It always exits with zero status and never outputs anything, regardless
of correct configuration file or it contains errors. Is there something
I missed? I tested it on 2.0.9 and on premium edition 2.1.11a.


-- 
Best regards,
Pavel Shaydo



More information about the syslog-ng mailing list