Apparently my logs stopped working around Apr 10, as the current /var/log/syslog
is empty, and /var/log/syslog.1
has the following for its last entries:
Apr 10 20:25:01 li243-206 CRON[2883]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Apr 10 20:27:16 li243-206 kernel: Kernel logging (proc) stopped.
Apr 10 20:27:16 li243-206 rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="2320" x-info="http://www.rsyslog.com"] exiting on signal 15.
I tried writing to it with logger "hello world"
, but nothing show up. rsyslog
is indeed running, if I check with ps
.
So I found this similar question, which led me to discover that /dev/xconsole
was missing. I created it, rebooted, but still no joy.
How can I get syslog to work?