Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| console_loglevel [2018/11/23 14:34] – [Kernel source files] rpjday | console_loglevel [2018/11/23 15:33] (current) – [Overview] rpjday | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Overview ===== | ===== Overview ===== | ||
| - | Properties of console loglevel. | + | Properties of console loglevel, and how to use it. |
| ===== Files ===== | ===== Files ===== | ||
| Line 27: | Line 27: | ||
| * / | * / | ||
| * / | * / | ||
| + | |||
| + | ===== Kernel parameters ===== | ||
| + | |||
| + | < | ||
| + | loglevel= | ||
| + | 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) | ||
| + | 1 (KERN_ALERT) | ||
| + | 2 (KERN_CRIT) | ||
| + | 3 (KERN_ERR) | ||
| + | 4 (KERN_WARNING) | ||
| + | 5 (KERN_NOTICE) | ||
| + | 6 (KERN_INFO) | ||
| + | 7 (KERN_DEBUG) | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | 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, | ||
| + | / | ||
| + | </ | ||
| ===== Kernel source files ===== | ===== Kernel source files ===== | ||