[syslog-ng]host x.x.x.111 is the same as x.x.x.11 (filter error?)

Lubos Vitek lubos_vitek@yahoo.com
Tue, 2 Jul 2002 07:18:34 -0700 (PDT)


Hallo, 

I have found a bug (or a feature?) in the syslog-ng
daemon. I used a filter:

filter f_host11  { host("192.168.1.11"); };
filter f_host111 { host("192.168.1.111"); };

destination d_host11 {file("/var/log/other/11.log");};
destination d_host111
{file("/var/log/other/111.log");};

log{source(s_other);filter(f_host11);destination(d_host11);};
log{source(s_other);filter(f_host111);destination(d_host111);};

Then, when I try to log something on 192.168.1.111, I
receive a log record in both files: 111.log and 11.log
too ! What am I doing wrong ?

bye,
Lubos.


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com