Syslog rotation, compression and cleanup

Solution Verified - Updated -

Issue

  • Compared to other distributions the logfiles in /var/log are mostly uncompressed
  • /etc/logrotate.d/syslog doesn't limit the amount of kept logfiles

Environment

  • Red Hat Enterprise Linux

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