Quote:
Originally Posted by h725
Hi,
who is rotating /var/log/syslog on my system (Debian Etch)?
In /etc/logrotate.conf and /etc/logrotate.d/* there is no mention about this file, but it's rotate every day.
Thank you.
|
From here:
http://help.lockergnome.com/linux/lo...ict461357.html
"Probably it is a misapprehension that you think that rotation of the
syslog is carried out by logrotate command.
Rotation of the syslog is carried out by the savelog command in the two
shell scripts "/etc/cron.daily/sysklogd" and "/etc/cron.weekly/sysklogd"."
I just checked my server and sure enough, cron.daily/sysklogd and cron.weekly/sysklogd use the "savelog" command to do log rotation. Also in the Google search results, I found a bug for Debian on this issue saying that logrotate should be used instead of savelog. So it seems you can just blow away those two cronjobs and setup a logrotate job to handle the rotation instead should you so desire one.
- Arch