Results 1 to 5 of 5
Hi,
I'm forwarding all syslog messages to a file to be parsed by a log monitor app.
I would like to not receive the kernel messages created during the boot ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-19-2009 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 3
Kernel syslog messages
Hi,
I'm forwarding all syslog messages to a file to be parsed by a log monitor app.
I would like to not receive the kernel messages created during the boot in that file.
As far as I tried the only way to avoid this is to add:
kern.none to the line for the redirection in syslog.conf
Other message levels log thos messages.
The problem is that this disables any kernel messages, and I would like to receive warning, critical events, etc... from the kernel.
Anyone has an idea of how could I disable those messages or at least receive only warnings and above messages?
Thanks,
Isaac
- 08-25-2009 #2
- 08-26-2009 #3Just Joined!
- Join Date
- Jul 2009
- Posts
- 3
I tried with all the levels, any level generate the boot kernel messages.
Thanks,
Isaac
- 08-26-2009 #4
- 08-26-2009 #5Just Joined!
- Join Date
- Jul 2009
- Posts
- 3
thanks x1a4
The line reads like this now:
*.info;kern.err;kern.!info;kern.!notice;kern.!warn /var/log/syslog
Maybe it has redundant info, bu it works.
Isaac


Reply With Quote
