Log file rotation stopped working

Solution Verified - Updated -

Issue

  • Log file is not properly rotating although it is configured and scheduled via logrotate and cron.
  • /var/log/messages is no longer rotated.

Environment

  • Red Hat Enterprise Linux 7.7
  • SELinux enforcing mode
  • logrotate
  • custom log locations

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