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 behaviour, and run dmesg -n 7 to log all messages to the console.

Did this answer your question?