[syslog-ng] filter set but still logged to mySQL

Dennis Kavadas dennis.kavadas at gmail.com
Tue May 23 08:30:43 CEST 2006


mmm....

i don't see this option anywhere is hte man pages of doc's...
thanks, it worked !!


On 5/23/06, Sandor Geller <wildy at balabit.hu> wrote:
>
> 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
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20060523/865baacc/attachment.htm


More information about the syslog-ng mailing list