[syslog-ng] syntax error

Matthias Kerk matthias at tuxlife.de
Fri Jan 5 15:35:58 CET 2007


Hello,

I try the version 2.0.1.

So far I used the version 2.0.0rc3 with following config example:

---------
destination console  { file("/dev/tty10"    group(tty) perm(0620)); };
log { source(src); filter(f_console); destination(console); };

destination xconsole { pipe("/dev/xconsole" group(tty) perm(0400)); };
log { source(src); filter(f_console); destination(xconsole); };
---------

The version 2.0.1 (and 2.0.0) says 'syntax error at ...'
If I delete the options from file and pipe, then work syslog ng.
see here:
---------
destination console  { file("/dev/tty10"); };
log { source(src); filter(f_console); destination(console); };

destination xconsole { pipe("/dev/xconsole"); };
log { source(src); filter(f_console); destination(xconsole); };
---------

In the reference manual are however permitted the option.

Thanks for your help,
Matthias




More information about the syslog-ng mailing list