LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Turning on/off debug messages (http://www.linuxquestions.org/questions/linux-kernel-70/turning-on-off-debug-messages-657076/)

galapogos 07-21-2008 12:10 AM

Turning on/off debug messages
 
Hi,

How do I enable/disable all debug messages when the kernel is booting up? From my limited understanding I have to change the DEFAULT_MESSAGE_LOGLEVEL, DEFAULT_CONSOLE_LOGLEVEL and MINIMUM_CONSOLE_LOGLEVEL in kernel/printk.c however I'm unsure what each one does. My kernel currently doesn't boot up properly, either hanging there or getting a kernel panic and I'd like to know where it fails. Do I simply set all 3 to 7(KERN_DEBUG) and rebuild?

Thanks.

Edit: nvm got it to work by changing all 3 values to 7.


All times are GMT -5. The time now is 02:05 PM.