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

Current Customers and Partners

Log in for full access

Log In