Filter syslog
Hello
I wonder how i can filter the syslog ? ie there is a message that i dont want to se logged in there etc? |
This depends on the syslog service you're using. I personally prefer syslog-ng which has various ways to do this which you can read about in it's standard documentation. More standard older syslog daemons don't really permit this, although rsyslog is very similar in terms of config to the normal syslog.conf but does provide more options.
|
Quote:
|
Here's an example for rsyslog:
Code:
:msg, contains, "Will not restore" ~ |
All times are GMT -5. The time now is 09:37 AM. |