Console logs makes terminal too nosiy

AOSP is creating a lot of chatty log messages printed to the console. I have been trying to use the shell but there is too much printed to be able to comfortably read command outputs. As I need to disconnect the Usb to be able to connect some other peripherals this suddenly became a problem

I have not even been able to google for this problem as most solutions involve filtering adb logcat in AndroidStudio. Any suggestions how to temporary disable the output to console or even what to search for would be appreciated.


You could try the command: ‘echo 0 > /proc/sys/kernel/printk’, this would disable all kernel log messages.