[syslog-ng]log statement parsing

John_Delisle@ceridian.ca John_Delisle@ceridian.ca
Thu, 12 Apr 2001 15:07:28 -0500


Hi guys,

Anyone know how syslog-ng handles the log statements when you have two log
statements that would apply? I think this will make more sense after
looking at the example.

source s_src { unix-stream ("/dev/log"); internal(); udp(ip(0.0.0.0)
port(514));};

destination d_messages { file("/var/log/messages"); };
destination d_test { file("/var/log/test"); };

filter f_test { host("testhost"); };
filter f_local7 { facility(local7); };

log { source(s_src); filter(f_test); filter(f_local7); destination(d_test);
};
log { source(s_src); filter(f_local7); destination(d_messages); };

Would messages sent from host "testhost" with facility local7 go to just
the first or both logs?

John Delisle
Corporate Technology
Ceridian Canada Ltd
204-975-5909



This e-mail and any files transmitted with it are considered confidential and are intended solely for the use of the individual or entity to whom they are addressed (intended). This communication is subject to agent/client privilege.If you are not the intended recipient (received in error) or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited.If you have received this e-mail in error please notify the sender immediately.