How to disable kernel messages (dmesg) Flooding on the console Method. 1 Edit the syslog config file /etc/rsyslog.conf and do the following modification. #kern.*