Quote:
Originally Posted by bigrigdriver
Read the logrotate man page. It tells you how to configure logrotate.
|
I know how to set up logrotate. But I don't want to set it up manually because probably the debian installer has already set something up to rotate my log files, and I don't want to make a mess. So I want to find why logrotation is working on one system but not on the other.
In the mean time I have found out (check /usr/share/doc/logrotate) that syslogd uses its own script to rotate logs (i.e. NOT logrotate). Two scripts can be found in /etc/cron.daily and /etc/cron.weekly, but again the scripts on my two systems are identical.
I think there is a problem with cron, but I'll have to take some time to check that.
I'll post the solution if I find one...
'man cron'