recentpopularlog in

Copy this bookmark:

to read

bookmark detail

linux - Description of kernel.printk values - Unix & Linux Stack Exchange
The four values in printk denote: console_loglevel, default_message_loglevel, minimum_console_loglevel and default_console_loglevel respectively.

These values influence printk() behavior when printing or logging error messages. See man 2 syslog for more info on the different loglevels.

console_loglevel: messages with a higher priority than this will be printed to the console
default_message_loglevel: messages without an explicit priority will be printed with this priority
minimum_console_loglevel: minimum (highest) value to which console_loglevel can be set
default_console_loglevel: default value for console_loglevel

A sensible default for CentOS 6 (to prevent basically harmless but annoying messages from flooding the console if you set '--noclear' option for the init's mingettys) is:

# /etc/sysctl.conf
kernel.printk = 3 4 1 3
sysctl  centos  boot  console  logging  configfile  solution 
may 2015 by kme
view in context