On 02/08/17 13:32, Jobst Schmalenbach wrote:
How can I solve this that those messages are NOT printed.
I think you are after *dmesg -n alert*
-n, --console-level level
Set the level at which printing of messages is done to
sole. The level is a level number or abbreviation of
name. For all supported levels see the --help output.
For example, -n 1 or -n alert prevents all messages,
emergency (panic) messages, from appearing on the
levels of messages are still written to /proc/kmsg,
logd(8) can still be used to control exactly where
sages appear. When the -n option is used, dmesg will
or clear the kernel ring buffer.
CentOS mailing list