Log files under /var/log/ are empty.
Issue
- Noticed that
/var/log/messages
is empty and when tried withlogger
command to update anything to the file nothing happened. - All the log files under
/var/log
folder are empty. logger
command is not working.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- rsyslog
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.