Bug#285858: No log rotation after exim3->exim4 upgrade
Andreas Metzler
Andreas Metzler <ametzler@downhill.at.eu.org>, 285858@bugs.debian.org
Wed, 22 Dec 2004 08:48:57 +0100
On 2004-12-22 Greg Kochanski <gpk@kochanski.org> wrote:
> Andreas Metzler wrote:
[...]
>>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?
> 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
[...]
Hello,
That looks bad, the part where logrotate actually considers the
logfiles is missing, this should include stuff look like this:
rotating pattern: /var/log/exim4/mainlog /var/log/exim4/rejectlog /var/log/exim4/paniclog after 1 days (10 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/exim4/mainlog
log does not need rotating
Could you send the complete un-grepped output of "logrotate -d
/etc/logrotate.conf"?
thanks, cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
http://downhill.aus.cc/