I seem to having a bit of a problem with filename macros. I have a working conf file that worked with 1.2.0 and works fine with 1.3.0, with the exception of putting these two lines at the end of the conf file destination test { file("/var/log/syslog-ng/$HOST.log"); }; log { source("src_net"); destination("test"); }; i run syslog-ng with a -d and as soon as a remote host sends something to this host syslog-ng seg faults. any ideas? need more info? Chris Scheller Network One Internet, inc. http://www.networkone.net/ System/Network Administration 1.888.GOT-NET1 On Mon, 15 Nov 1999, Balazs Scheidler wrote:
Hi,
I've released the first development version (1.3.0) of syslog-ng to the usual places. It supports macro expansion in destination file names, and a new filter function which calls another filter rule. A new version of libol is needed (0.2.6) to compile this version.
To use the new features, use the following config file snippets:
1) calling another rule
filter f_mail { facility(mail); }; filter f_ftp { facility(ftp); };
filter f_default { not filter(f_mail); not filter(f_ftp); };
2) macro expansion in destination filenames
destination all { file("/var/log/$HOST.$YEAR$MONTH"); };
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng