[syslog-ng]log statement parsing

SZALAY Attila sasa@balabit.hu
Thu, 12 Apr 2001 22:20:41 +0200


Hi All!

On 2001 Apr 12, John_Delisle@ceridian.ca wrote:
> 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?

Both.

-- 
PGP ID 0x8D143771, /C5 95 43 F8 6F 19 E8 29  53 5E 96 61 05 63 42 D0
GPG ID   ABA0E8B2, 45CF B559 8281 8091 8469  CACD DB71 AEFC ABA0 E8B2

The quickest way of ending a war is to lose it - George Orwell