Notes about log levels

This commit is contained in:
Imbus 2026-02-24 14:12:54 +01:00
parent 4ae1267b43
commit 22d4705614

View file

@ -16,3 +16,10 @@
### Style ### Style
Check for style with: Check for style with:
`${LINUX_PATH}/scripts/checkpatch.pl -f ./file.c` `${LINUX_PATH}/scripts/checkpatch.pl -f ./file.c`
See log levels:
https://www.kernel.org/doc/html/latest/core-api/printk-basics.html
Logs can be listened and filtered
See: `cat /proc/sys/kernel/printk`
Set with: `echo '4' > /proc/sys/kernel/printk` and so on
Set in kernel CLI with 'loglevel=4'