Re: Having printk output to console as well as /var/log/messages

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

 




> How do I get some of my printk messages to be directed to the 
> console window as well as (or instead of) going to 
> /var/log/messages?
> 
> I tried using the KERN_CRIT directive, as well as a few others, but 
> nothing seems to work.
> 
> My /proc/sys/kernel/printk looks like this:
> 
> 6       4       1       7
  ^^console log level has to be changed to 8 to include debug messages also
To do that do
echo 8 > /proc/sys/kernel/printk
HTH
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux