[syslog-ng] yum.log filter not working.

Andy Loughran andy at zrmt.com
Mon Jul 23 12:12:19 CEST 2007


Guys,

I think this is a small problem, but need some help solving it.

I want to append 'yum' to each line of the yum.log file as currently it gets transferred to the remote logging server, but ends up in /var/log/messages as the filter to move it to /var/log/yum.log doesn't work.  the filter is currently set to 

filter f_yum { program(yum); };

but I can't see anywhere where the program name is also transmitted.  Can I append 'yum' to the initial transfer so that I can change the filter to 

filter f_yum { match(yum); };

Regards,
--------
Andy Loughran
www.zrmt.com
m: 07921076319

----- Original Message -----
From: "Balazs Scheidler" <bazsi at balabit.hu>
To: "Jason Poley" <jpoley at co.santa-barbara.ca.us>
Cc: "Syslog-ng users' and developers' mailing list" <syslog-ng at lists.balabit.hu>
Sent: 20 July 2007 17:43:18 o'clock (GMT) Europe/London
Subject: RE: [syslog-ng] problems with Cisco WiFi controller syslog messages

On Fri, 2007-07-20 at 09:32 -0700, Poley, Jason wrote:
> Well, I seem to be doing something wrong with patch...
> 
> I created a patch file from the enclosed update, starting from the 'diff'
> line down to the end (no including your sig of course).  I then run patch
> and see the following output...

Try a current snapshot, that should already contain the patch.


-- 
Bazsi

_______________________________________________
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





More information about the syslog-ng mailing list