rsyslog stopped logging to files under "/var/log" post log rotation
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
rsyslogis not logging into the log files.
Environment
- Red Hat Enterprise Linux 6, 7, 8 and 9
- rsyslog
- logrotate
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.