LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kern.log prints to screen on error (https://www.linuxquestions.org/questions/linux-general-1/kern-log-prints-to-screen-on-error-470798/)

mandrakethepenguin 08-04-2006 12:25 PM

kern.log prints to screen on error
 
Hi!


I get frequent errors on kern.log (not serious ones) and I'm tired of them printing to the screen. How could I edit klogd or whatever to stop printing the errors to the screen? Im running Debian unstable w/out a desktop environment.

druuna 08-04-2006 01:15 PM

Hi,

Take a look at klogd's -c option.

From the manpage:

-c n Sets the default log level of console messages to n.

Don't know if the numbering is known to you, so here's a little breakdown:

0 debug
1 info
2 notice
3 warning
4 error
5 critical
6 alert
7 emergency

a setting of 5 (or maybe 6) should be ok.

Hope this helps.


All times are GMT -5. The time now is 04:47 PM.