Log rotation doesn't seem to be working in RHEL, space is blocked in /var/log/cups

Solution Unverified - Updated -

Issue

Log rotation is nor working in CUPS client server, with the default configuration:

# cat /etc/logrotate.d/cups 
/var/log/cups/*_log {
    missingok
    notifempty
    sharedscripts
}

7.5 GB space has been blocked in /var/log/cups, even though none of the log files are larger than 20 MB.

Environment

  • Red Hat Enterprise (RHEL) 7.7 and later versions (including RHEL 8)

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