[syslog-ng] local[0-7], can't get them to write to file.
Balazs Scheidler
bazsi@balabit.hu
Wed, 12 Apr 2000 11:40:15 +0200
> I'm having a few minor problems writing local 6 and 7
> to files. I'm most likely doing something incorrect in
> the config file, can some one help me out please.
>
> source src { unix-dgram("/var/run/log"); internal(); udp(ip(0.0.0.0) port(514));
> };
>
> destination local6 { file("/var/log/local6.log"); };
> destination local7 { file("/var/log/local7.log"); }
^^^^^^^^
missing semicolon.
>
> filter f_local6 { facility(local6); };
> filter f_local7 { facility(local7); };
>
> log { source(src); filter(f_local6); destination(local6); };
> log { source(src); filter(f_local7); destination(local7); };
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
url: http://www.balabit.hu/pgpkey.txt