[Yum-devel] [PATCH] use yum tag when logging to syslog

James Bowes jbowes at redhat.com
Sun Dec 17 20:04:52 UTC 2006



Terje Rosten wrote:
> Current logging to syslog appear as
> 
>  Dec 12 08:09:38 hostname Updated: openssh-server.x86_64 4.3p2-14.fc6
> 
> It't nice, however it's common to add a tag, in this case yum, like
> this:
> 
>  Dec 12 08:09:38 hostname yum: Updated: openssh-server.x86_64 4.3p2-14.fc6
> 
> This way it's also very easy for e.g. logwatch to create a nice daily
> yum report.


Looks good to me. Definitely makes the syslog output more useful, too.

-James



More information about the Yum-devel mailing list