Re: [syslog-ng] filter killing logging
the log statement below works
the #log statement logs nothing
source src { unix-dgram("/var/run/log"); unix-dgram("/var/run/logpriv" perm(0640)); tcp(); udp(); internal(); file("/dev/klog"); };
### smtp postfix
filter f_mail { facility(mail); };
filter f_postfix {match (" postfix"); };
destination d_postfix { file("/var/log/$HOST/maillog"); };
log { source (src) ; filter (f_mail); filter(f_m_info); destination (d_postfix); };
#log { source (src) ; filter (f_mail); filter(f_m_info); filter (f_postfix); destination (d_postfix); };
Thanks Len
Sorry about previous msg's null subject and missing version syslog-ng -V syslog-ng 2.0.9 (from FreeBSD pkg, not ver 3 yet) I enabled the postfix, imap3d, sasl, pop3d logging by trimming the trailing/leading spaces of " string " in the filter definitions. huh? Len
participants (1)
-
Len Conrad