[syslog-ng] local[0-7], can't get them to write to file.

Imo i@moe.co.uk
Wed, 12 Apr 2000 10:26:32 +0100


Hi All,

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"); }

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); };

Cheers,
John