Bug#285858: No log rotation after exim3->exim4 upgrade

Greg Kochanski gpk@kochanski.org, 285858@bugs.debian.org
Tue, 21 Dec 2004 23:14:45 +0000


Andreas Metzler wrote:
> reassign 285858 exim4-base
> thanks
> On 2004-12-16 Greg Kochanski <gpk@kochanski.org> wrote:
> 
>>Package: exim4
>>Version: 4.34-8
>>Severity: normal
> 
> 
>>If I do ls -lrt of /var/log/exim4, I see this:
>>gpk:exim$ sudo ls -lrt /var/log/exim4
> 
> [...]
> 
>>-rw-r-----  1 Debian-exim adm  104559 Oct 20 06:32 mainlog.1
>>-rw-r-----  1 Debian-exim adm     565 Oct 20 06:33 rejectlog.2.gz
>>-rw-r-----  1 Debian-exim adm   17904 Oct 20 06:33 mainlog.2.gz
>>-rw-r-----  1 Debian-exim adm       0 Dec  8 08:55 paniclog
>>-rw-r-----  1 Debian-exim adm   97811 Dec 15 22:57 rejectlog
>>-rw-r-----  1 Debian-exim adm 5285498 Dec 16 00:17 mainlog
> 
> 
>>Note that it's been two months since mainlog was rotated;
>>it's starting to get pretty big.
> 
> [...]
> 
> Logrotation works fine for me. Did you modify
> /etc/logrotate.d/exim4-base? What does
> logrotate -d /etc/logrotate.conf 2>&1 | grep -2 exim4
> say?
>            thanks, cu andreas



logrotate -d /etc/logrotate.conf 2>&1 | grep -2 exim4

gives

reading config file cupsys
reading config info for /var/log/cups/*log
reading config file exim4-base
reading config info for /var/log/exim4/mainlog /var/log/exim4/rejectlog 
/var/log/exim4/paniclog
reading config file mysql-server
reading config info for /var/log/mysql.log /var/log/mysql/mysql.log 
/var/log/mysql.err /var/log/mysql/mysql.err


I should say that this is after an exim3 -> exim4 upgrade.