How does logrotate decide to rotate the logs in case of weekly rotation ?

Solution Unverified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In