[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rotation of /var/log/mail.log

Steve Kemp said on Tue, Sep 23, 2003 at 10:45:11PM +0100:
> > While /var/log/mail.log is rotated nicely on my (woody) boxes, 
> > I have no idea which package is responsible for that. 
> > Any suggestions ?
>   /etc/cron.weekly/sysklogd 
>   This script rotates all the files which are output from running:
>   	/usr/sbin/syslogd-listfiles --weekly
> > That would help me to solve bug #212237.
>   If you make sure there is an entry for mail in /etc/syslog.conf then
>  these files will be output from the 'syslogd-listfiles' and rotated
>  correctly.
>   Alternatively you could drop a file in /etc/logrotate.d/ to force
>  the issue.
Please do this instead.  I'm not sure why sysklogd does it's own rotation, but
most other stuff uses logrotate, and it works well.


Attachment: pgp0MnEUxYqTO.pgp
Description: PGP signature

Reply to: