[Nottingham] logrotate issues
Mike Cardwell
nlug at lists.grepular.com
Fri Dec 11 12:07:28 UTC 2009
Graeme Fowler 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.
The plot thickens. It doesn't even mention mail.log when I do that. Nor
the other general system logs like syslog/messages etc...
--
Mike Cardwell - IT Consultant and LAMP developer
Cardwell IT Ltd. (UK Reg'd Company #06920226) http://cardwellit.com/
Technical Blog: https://secure.grepular.com/blog/
More information about the Nottingham
mailing list