[arch-general] rotate pacman log?

David Rosenstrauch darose at darose.net
Thu Aug 7 17:02:03 EDT 2008


Dale Blount wrote:
> My only request here is that it saves at least a years worth of updates
> by default.  If something breaks on my system and I don't notice it for
> a few months, I can't tell if an update broke it or not.
> 
> I have a 828Kb pacman.log from a 5 year old install.  Granted I don't
> -Syu as often as I should, but it still seems manageable at many times
> that on modern hardware.
> 
> Dale

How about this?

/var/log/pacman.log {
     monthly
     rotate 12
     notifempty
}

DR



More information about the arch-general mailing list