[CentOS] Logrotate problem after start of DST

Bernd Bartmann

bernd.bartmann at gmail.com
Sun Apr 20 09:06:35 UTC 2008


Hi,

since the start of the daylight savings time my server has a problem
with the log files. Sunday night the log files get rotated correctly,
i.e. /var/log/messages gets /var/log.messages.1, /var/log/messages.1
get /var/log/messages.2, ... The problem now is that after log
rotation new messages do no go to /var/log/messages, but to the
rotated file. As DST started 3 weeks, the latest log entries now go to
/var/log/messages.3. This happens to all other log files too. Even
after rebooting the server new log entries go to /var/log/messages.3
instead of /var/log/messages.

Any ideas why this happens and how to fix this problem?

Thanks in advance,
Bernd.



More information about the CentOS mailing list