[syslog-ng]How to filter XDMCP messages ?
Gerard Breiner
syslog-ng@lists.balabit.hu
Tue, 4 Mar 2003 17:21:24 +0100
Thanks a lot, it works very nice
I understood.
Best regards
Gerard.
here is my settings.
serveur :
source local {
unix-stream("/dev/log");
udp(ip(0.0.0.0) port(514));
internal();
};
cliente :
----- Original Message -----
From: "Nate Campi" <nate@campin.net>
To: <syslog-ng@lists.balabit.hu>
Sent: Tuesday, March 04, 2003 4:21 PM
Subject: Re: [syslog-ng]How to filter XDMCP messages ?
> On Tue, Mar 04, 2003 at 02:46:23PM +0100, Gerard Breiner wrote:
> >
> > I wonder how to configure syslog-ng to filtering the messages emitted
> > by gdm_xdmcp. this type of messages pollutes my files of logs. Here
> > is messages i don't want : "gdm[3798]: gdm_xdmcp_handle_query: Opcode
> > 1 from ".
>
> filter f_not_gdm {
> not program("gdm");
> };
>
> log {
> source(src);
> filter(f_not_gdm);
> destination(syslog);
> };
>
> This will keep any gdm messages from being logged, which is probably ok.
> --
> Nate Campi http://www.campin.net
> _______________________________________________
> 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
>