logwatch shows last year's data from yum.log

Ian Mortimer ian at physics.uq.edu.au
Wed Apr 4 04:05:14 UTC 2007


On Tue, 2007-04-03 at 09:47 -0700, Knute Johnson wrote:

> I looked at my logwatch email this morning and saw a bunch of updates 
> but the one that surprised me was kernel.i686.2.6.16-1.2080_FC5.  The 
> logwatch program apparently picked up last years data out of the 
> yum.log.  Is this a bug that any body would care about and want 
> reported?

It's a feature of syslog rather than a bug in logwatch.  If you look
at the dates in yum.log (or any other syslog generated file), you'll 
see it doesn't include the year so logwatch has no way of knowing 
those entries were last years.

Other log files get rotated so it's never a problem but yum.log doesn't
get rotated (by default).


--
Ian




More information about the users mailing list