I have fairly new Virtualmin/Webmin installation and I discovered that my logging was not working (lfd gives failed state and also logger -p auth.notice “message” was not saved).
Firstly, I see that my syslog.socket was not running at all and reboot was not help. I tried uncommenting out rsyslog.service systemd configuration “Requires=syslog.socket” and “Alias=syslog.service”, but it was not helping. Finally I get syslog.socket running when I add symlink “ln -s /usr/lib/systemd/system/rsyslog.service /etc/systemd/system/syslog.service”.
But even after that logger -p auth.notice “message” was not saved.
Finally, I get it work when commenting out rsyslog.service /etc/rsyslog.conf “#$ModLoad imjournal”, “#$IMJournalStateFile imjournal.state” and changed “$OmitLocalLogging” option to off.
Now, how can I check that my logging really is working like it should and why all this hassle was needed?
Thank you for all help!