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

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content