[Nottingham] logrotate issues
Graeme Fowler
graeme at graemef.net
Fri Dec 11 10:37:57 UTC 2009
On Fri, 2009-12-11 at 10:18 +0000, Mike Cardwell wrote:
> What on Earth is telling my system to rotate mail.log on a daily basis
> and to only keep the last weeks worth of logs?
As root:
logrotate -d
That will run through the config (which probably calls a bunch of
includes in /etc/logrotate.d) and show you what it *would* do, without
doing it. Then you can see where the mail log gets rotated.
Graeme
More information about the Nottingham
mailing list