Question about logrotate
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. |
see if you have a config called
/etc/logrotate.d/rsyslog this has my /var/log/syslog.../var/log/messages |
Quote:
|
hi
ok it might be better to do this Code:
su |
Quote:
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 |
Quote:
Thankyou! Very interesting. |
All times are GMT -5. The time now is 06:16 PM. |