rsyslog not logging logger messages
Hey people, first post around here (:
On a openSUSE 12.1 box I tried to customize the file to log sshd-related messages. I made the mistake of installing syslog-ng when rsyslog was already installed because I first found instructions about doing it with syslog-ng.
When I found how to do it in rsyslog, I removed syslog-ng but now I've got a weird situation. After some debugging and tons of google, the simplest problem case I could reproduce is this:
If I run rsyslog with:
And then issue a:
/sbin/rsyslogd -c 5 -f /etc/rsyslog.conf
The message correctly appears on
logger "hello world"
But if I run rsyslog with:
And then issue the same logger command, it doesn't show up (among other messages like the sshd-related).
systemctl start syslog.service
The rsyslogd command I got it from looking at the output of:
Any ideas on why this behaviour?
systemctl status syslog.service
Thanks in advance!