rsyslog stopped logging to files under "/var/log" post log rotation

Solution Verified - Updated -

Issue

  • After weekly log rotation, logging was stopped for below files :-
/var/log/cron 
/var/log/maillog 
/var/log/messages 
/var/log/secure 
/var/log/spooler
  • Log rotation is working but rsyslog is not logging into the log files.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • rsyslog
  • logrotate

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