User Tools

Site Tools


console_loglevel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
console_loglevel [2018/11/23 14:34]
rpjday [Kernel source files]
console_loglevel [2018/11/23 14:39]
rpjday [Kernel source files]
Line 27: Line 27:
   * /​sys/​module/​printk/​parameters   * /​sys/​module/​printk/​parameters
   * /​proc/​sys/​kernel/​printk/​*   * /​proc/​sys/​kernel/​printk/​*
 +
 +===== Kernel parameters =====
 +
 +<​code>​
 +loglevel= ​      All Kernel Messages with a loglevel smaller than the
 +                console loglevel will be printed to the console. It can
 +                also be changed with klogd or other programs. The
 +                loglevels are defined as follows:
 +
 +                0 (KERN_EMERG) ​         system is unusable
 +                1 (KERN_ALERT) ​         action must be taken immediately
 +                2 (KERN_CRIT) ​          ​critical conditions
 +                3 (KERN_ERR) ​           error conditions
 +                4 (KERN_WARNING) ​       warning conditions
 +                5 (KERN_NOTICE) ​        ​normal but significant condition
 +                6 (KERN_INFO) ​          ​informational
 +                7 (KERN_DEBUG) ​         debug-level messages
 +</​code>​
 +
 +<​code>​
 +ignore_loglevel [KNL]
 +                Ignore loglevel setting - this will print /all/
 +                kernel messages to the console. Useful for debugging.
 +                We also add it as printk module parameter, so users
 +                could change it dynamically,​ usually by
 +                /​sys/​module/​printk/​parameters/​ignore_loglevel.
 +</​code>​
  
 ===== Kernel source files ===== ===== Kernel source files =====
console_loglevel.txt ยท Last modified: 2018/11/23 15:33 by rpjday