-   Linux - Kernel (
-   -   Turning on/off debug messages (

galapogos 07-20-2008 11:10 PM

Turning on/off debug messages

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?


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

All times are GMT -5. The time now is 08:43 PM.