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
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.