[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bothering error message when logging out X



On Fri, Feb 22, 2008 at 04:57:15PM +0000, Rodolfo Medina wrote:
> "Douglas A. Tutty" <dtutty@porchlight.ca> writes:
> 
> > These are kernel messages being posted to the terminal.  Do you get
> > other kernel messages (e.g. like when you plug in a USB device)?
> >
> > See the top of /etc/sysctl.conf
> 
> Thanks, this worked: in /etc/sysctl.conf I uncommented the line:
> 
>  kernel.printk = 4 4 1 7
> 
> so to stop low-level messages on console, and that bothering message did not
> appear any more.  But still, when I plug in my usb pendrive, the following
> message appears:
> 
>  sda: assuming drive cache: write through
> 
> .  How can I avoid this as well, and all undesired kernel messages?

Is the kernel putting that there, or is syslog?  Check your syslog
setup, perhaps change the default message level that it spits out.
There are somethings that you want to appear on __the_system_console__
but not necessarily on every VT.  Syslog configs should allow you to
tweak this.

Doug.


Reply to: