RE: [syslog-ng]Question about syslog-ng conf file syntax...
-----Original Message----- From: Ryan Dooley [mailto:dooleyr@missouri.edu] Sent: Wednesday, January 29, 2003 4:53 PM To: syslog-ng@lists.balabit.hu Subject: [syslog-ng]Question about syslog-ng conf file syntax...
Hello All,
I have a question about syslog-ng conf file... I have a destination filter that looks like this:
destination d_somefile { file("/path/to/file"); };
That "syslog-ng -s" says there is a syntax error... Any ideas?
I have a hunch that the third line with the }; need to start with whitespace to be considered on the same line. Michael Breton Commtel
Hey, That was a guess of mine as well. I change thge line to look like: destination d_somefile { file("/path/to/file"); }; with no luck there either. The host machine is a Linux machine and with strace or gdb (with -g), I can't see anything wrong (as the config file gets parsed) off hand.... Ryan
I have a hunch that the third line with the }; need to start with whitespace to be considered on the same line.
Michael Breton Commtel
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
You know... it always comes back to the basics. I missed a ";" above in the config file. Thanks for the pointers, Cheers, Ryan
Hey,
That was a guess of mine as well. I change thge line to look like:
destination d_somefile { file("/path/to/file"); };
with no luck there either.
The host machine is a Linux machine and with strace or gdb (with -g), I can't see anything wrong (as the config file gets parsed) off hand....
participants (2)
-
Michael Breton
-
Ryan Dooley