[syslog-ng] filter set but still logged to mySQL
Sandor Geller
wildy at balabit.hu
Tue May 23 08:23:17 CEST 2006
Dennis Kavadas wrote:
> Hi all
>
> I have a question, or rather a problem
>
> I've written a filter to trap entries from our BIND host that sends the
> output to /de/null (see below)
>
> I can send the match to any file or to /dev/null but syslog-ng is still
> seeing the entry from the host and is logging it to "destination d_mysql "
Use the 'final' flag or use the negated filter for the other log statements.
> I just need to filter out the match so it never reaches "destination
> d_mysql"
>
> Can anyone offer any advice ?
[snip]
> log {source(shell); filter(err-update-dns); destination(err-update-dns); };
replace this with:
log {source(shell); filter(err-update-dns); destination(err-update-dns);
flags(final);};
--
Sandor Geller
wildy at balabit.hu
More information about the syslog-ng
mailing list