Using The Console Interactively
If you’re using the console interactively, you may want to run dmesg -n 1
to prevent all messages, except emergency (panic) messages. Run dmesg -n 4
to restore the default behavior, and run dmesg -n 7
to log all messages to the console.