[syslog-ng]route some messages to /dev/null

Jay Guerette syslog-ng@lists.balabit.hu
Mon, 28 Feb 2005 01:58:26 -0500


Add your filter:

destination devnull {
        file(/dev/null);
};
log {
        source(syslog);
        filter(...);
        destination(devnull);
        flags(final);
};

On Tue, 22 Feb 2005 14:01:02 +0200, Denis Kot <denis.kot@gmail.com> wrote:
> I want to route some messages to /dev/null.
> how to do it?