Guys, I want to disable all logs on lede to do some performance testing on the router. I need to do some comparisons with both logs on and off. Is it possible to disable all? If so, what is the process like?
The simplest is likely to run
Thanks, this command disabled the system log, but which command disables the kernel log?
Or use this command:
root@LEDE:~# cat /proc/sys/kernel/printk 7 4 1 7 root@LEDE:~# echo 0 4 1 7 > /proc/sys/kernel/printk root@LEDE:~# cat /proc/sys/kernel/printk 0 4 1 7 root@LEDE:~#
This solution doesn't seem to be working for me. I'm still seeing kernel log lines (with level INFO and above) in the output of
logread after setting the printk level to
I am also fine with not disabling the kernel logs. I just want to change the minimum log level to NOTICE and above. I have a device connected to the router that keeps turning ethernet on and off every minute when in sleep, and it spams my log with lots of
Link is Up/Down,
entered blocking/forwarding/disabled state messages that I don't want to see.