Thorus
#1
Hi,
I want the messages for cron in a different logfile /var/log/cron.log, so I changed /etc/syslog/syslog-ng.conf
there were already two commented out lines for cron, so I commented them in, and did a rcsyslog restart.
but the messages still are written into /var/log/messages…
How can I change that?
Thx
ken_yap
#2
What version openSUSE? rsyslogd is used by default from 11.3 onwards I think, not syslog-ng.
Thorus
#3
It’s 11.4 so this could be why, I also have an /etc/rsyslog folder, but there’s only an remote.conf in it…
Thorus
#4
So I searched for rsyslog and changed /etc/rsyslog.conf and added one line:
cron.* /var/log/cron.log
and of course a rcsyslog restart again
but still no difference 
Thorus
#5
Ok I got it, u need add cron.none to the line where it configs what is logged to messages and what not…