Empty /var/log/syslog. Is it possible?
by igadoter from LinuxQuestions.org on (#5SE6G)
I have 8 hours uptime and 0 size /var/log/syslog. I am happy there is no errors reported but no messages, warnings either? Just nothing. What kind of syslog is that? What's wrong?
Code:bash-5.1$ ls -l /var/log/syslog
-rw-r----- 1 root root 0 Nov 28 04:40 /var/log/syslog
bash-5.1$ date
Sun Nov 28 11:44:28 CET 2021
bash-5.1$ uptime
11:45:13 up 8:05, 1 user, load average: 0.07, 0.06, 0.09It looks like syslog didn't survive between reboots. Don't get it.
Code:bash-5.1$ ls -l /var/log/syslog
-rw-r----- 1 root root 0 Nov 28 04:40 /var/log/syslog
bash-5.1$ date
Sun Nov 28 11:44:28 CET 2021
bash-5.1$ uptime
11:45:13 up 8:05, 1 user, load average: 0.07, 0.06, 0.09It looks like syslog didn't survive between reboots. Don't get it.