Thilo Six wrote:
Subject: since i installed rsyslog /var/log/syslog.0 did not got logrotated Package: rsyslog Version: 3.16.2-1~Xk2c1 Severity: normal*** Please type your report below this line *** I have installed rsyslog from source on ubuntu hardy. Formally i used sysklogd as systemlogger. Since then the files '/var/log/messages.0' and '/var/log/syslog.0' did not got rotated. It seems to me rsyslog does not use those '*.0' files and instead uses '*.1' as the first rotated logfile.
The log rotation is done by logrotate and this seems to be the default behaviour of logrotate
This leaves crap behind when "upgrading" from sysklogd to rsyslog. The numbering sheme doesn't really matter to me but please add a little script that rotates '*.0' if it already exists.
I'm not sure how to do that without becoming messy.One possible "solution" is to simply document this new behaviour in a README.Debian, so people can inspect the .0 files and if they don't need it anymore, tell them, that they can be safely deleted.
Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature