It depends on what syslog daemon you are using. From your comment about using syslog-ng
I'd guess you should change this section in /etc/syslog-ng/syslog-ng.conf
:
filter f_messages {
level(info,notice,warn)
and not facility(auth,authpriv,cron,daemon,mail,news);
};
Per the other comment, you could try removing "info,notice
" on the "level()
" line.
(I’m guessing you are looking for something specific in /var/log/messages
and having trouble finding it among all the other stuff? If that’s the case, what you really ought to be doing is creating your own log file with exactly the messages you want. This might be a little tricky and require some reading of the dreaded manuals, of course.)
Could not find the /etc/syslog.conf file. Found /etc/syslog-ng.conf I did not find this entry in the /etc/syslog-ng.conf file. – None – 2009-10-01T17:42:10.687