LinuxQuestions.org

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

galapogos 07-20-2008 11:10 PM

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 05:47 PM.