Logrotate is regularly rotating /var/log/messages but system is still generating logs in rotated log file.
Issue
- Logrotate is configured to keep 28 rotations and /var/log/messages is being rotated regularly but system is still using /var/log/messages.17 instead of /var/log/messages for new log entries.
Environment
- Red Hat Enterprise Linux 6
- rsyslog-5.8.10-2.el6
- logrotate-3.7.8-15.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
