Advertisement
rucinski69

Description of kernel.printk values

Feb 14th, 2017
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.85 KB | None | 0 0
  1. Description of kernel.printk values
  2.  
  3. "0" → Emergency messages, system is about to crash or is unstable pr_emerg
  4. "1" → Something bad happened and action must be taken immediately pr_alert
  5. "2" → A critical condition occurred like a serious hardware/software failure pr_crit
  6. "3" → An error condition, often used by drivers to indicate difficulties with the hardware pr_err
  7. "4" → A warning, meaning nothing serious by itself but might indicate problems pr_warning
  8. "5" → Nothing serious, but notably nevertheless. Often used to report security events. pr_notice
  9. "6" → Informational message e.g. startup information at driver initialization pr_info
  10. "7" → Debug messages pr_debug, pr_devel if DEBUG is defined
  11. KERN_DEFAULT "d" The default kernel loglevel
  12. KERN_CONT "" "continued" line of log printout (only done after a line that had no enclosing)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement