All of lore.kernel.org
 help / color / mirror / Atom feed
* some questions about log level
@ 2011-12-12 14:18 loody
  2011-12-12 17:22 ` Mulyadi Santosa
  2011-12-12 18:08 ` Jonathan Neuschäfer
  0 siblings, 2 replies; 8+ messages in thread
From: loody @ 2011-12-12 14:18 UTC (permalink / raw)
  To: kernelnewbies

hi all:
my questions are below:
1. Can I temporarily let kernel message show in stdout?
    I google some key word as "console_loglevel" and I found following methods:
     a. echo 8 > /proc/sys/kernel/printk
     b. write a simple program which calling "klogctl(8, NULL, level)"
Then I purposely connect/disconnect USB, but my console keep quiet.
But dmesg shows connect/disconnect messages.

2. what is differences between above a and b methods?
    Are they not to used to change console_loglevel?

3. is it possible the max level of "console_loglevel" doesn't mean it
will show on stdout?




-- 
Thanks for your help

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-06-29  3:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-12 14:18 some questions about log level loody
2011-12-12 17:22 ` Mulyadi Santosa
2011-12-12 18:08 ` Jonathan Neuschäfer
2011-12-13  1:57   ` loody
2011-12-13  4:28     ` Mulyadi Santosa
2011-12-15  6:50       ` loody
2012-06-29  3:05       ` loody
2012-06-29  3:59         ` Mulyadi Santosa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.