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

Denis Kot syslog-ng@lists.balabit.hu
Mon, 28 Feb 2005 10:08:32 +0200


no, it=B4s Gentoo linux without SELinux in USE


On Mon, 28 Feb 2005 03:02:21 -0500, Jay Guerette <jayguerette@gmail.com> wr=
ote:
> This wouldn't happen to be a FC3 system with SELinux enabled?
>=20
> On Mon, 28 Feb 2005 09:04:51 +0200, Denis Kot <denis.kot@gmail.com> wrote=
:
> > if I do this, then device /dev/null get permission 644 and any other
> > application (for example postgresql) can=B4t write to /dev/null...
> >
> > On Mon, 28 Feb 2005 01:58:26 -0500, Jay Guerette <jayguerette@gmail.com=
> wrote:
> > > 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> w=
rote:
> > > > I want to route some messages to /dev/null.
> > > > how to do it?
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>=20
>=20


--=20
Denis Kot
denis?jabber.org.by
ICQ: 13680126
Mobil: +375 29 6-1234-78