26 Oct
1999
26 Oct
'99
7:22 p.m.
Hi, I've worked a bit on syslog-ng and implemented macro expansion on destination filenames. It's not complete yet, but anyone interested may play with it a bit. Here's an example how to use this: ----------------------------------------------------- options { long_hostnames(on); time_reopen(2); }; source src { unix-stream("log1"); internal(); }; destination all { file("/var/log/$HOST.log"); }; log { source(src); destination(all); }; ------------------------------------------------------ You'll need to grab the source from the CVS to use this. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt