Dmesg filter sssd

onev asked:

Is it possible to filter messages in dmesg?

I have example:

[7178052.121153] audit: type=1400 audit(1626442447.021:97) apparnor="ALLOWED" operation="open" profile="/usr/sbinn/sssd" name="/etc/krb5.conf.d/" pid=4191".... 

I don’t want this to be shown in dmesg.

My answer:


Turn off the computer?

All kernel messages appear in the ring buffer shown by dmesg. That is its purpose.

You cannot "remove" messages, you can only prevent them from occurring in the first place. But if you do that, then they also will not be logged.


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.