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.conf
has 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, tools, and much more.