This might not be THE solution, but maybe it gives you a hint in the right direction.
Syslogd takes care of logging, but logrotate takes care of daily renaming and replacement of log files.
In syslog.conf you configure what is written in which log file, e.q. cron messages go into /var/log/cron/whatever.log.
However, logrotate determines when a file is to be rotated, based on size(!) or frequency. You should be able to specify that in logrotate.conf. Have you checked that file?
Furthermore, logrotate is run daily by cron, it is possible that additional parameters are specified on the commandline. Usually, log files are overwritten each week from the beginning, meaning that you should have 7 log files of each kind. If logrotate is configured like that it is pretty impossible that you loose 5 out of 7 days.
In Debian /etc/cron.daily contains a number of scripts being run daily, but that might be different in Mandrake.
jlinkels
|