How does logrotate decide to rotate the logs in case of weekly rotation ?
Issue
- Log retention had been set for 90 days but less than 90 days of log was available after rotation.
/etc/logrotate.confhas the following options set, how many days of logs will be available.
weekly
rotate 12
Environment
- Red Hat Enterprise Linux (all releases)
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.
