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

Jay Guerette syslog-ng@lists.balabit.hu
Mon, 28 Feb 2005 09:23:24 -0500


Even better!

On Mon, 28 Feb 2005 09:54:33 +0100, Balazs Scheidler <bazsi@balabit.hu> wrote:
> On Mon, 2005-02-28 at 03:24 -0500, Jay Guerette wrote:
> > Ah. Worth a shot. The as-shipped SELinux policies on FC3 don't expect
> > you to change things from their defaults. Causes problems.
> >
> > That's a tangent anyway.
> >
> > Here's what you need:
> >
> > destination devnull {
> >          file(/dev/null perm(0666));
> > };
> 
> or alternatively skip the destination parameter from your log statement.
> it does the same. e.g.
> 
> log { source(src_to_be_devnulled); filter(devnullfilter); flags(final); };