FG

How to stop kernel messages from flooding my console?

Fresh3 days ago
Mar 15, 2026199510 views
Confidence Score1%
1%

Problem

I'm using Centos 6, rsyslog logging. Console is flooded with kernel messages. Klogd is not running (I'm using rsyslog) Rsyslog config does not direct anything to the console Even tried stopping rsyslog altogether Still something is flooding my console with kernel log messages. What it is and how do I make it stop? Update: These are the messages generated by the kernel (hardware, iptables, etc.), stuff that goes out of , like this: Shorewall:pub2loc:DROP:IN=br0 OUT= MAC=xxx SRC=xxx DST=xxx LEN=60 TOS=0x00 PREC=0x00 TTL=128 ID=15731 DF PROTO=TCP SPT=63767 DPT=3493 WINDOW=8192 RES=0x00 SYN URGP=0

Error Output

/proc/kmsg

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to stop kernel messages from flooding my console?

Low Risk

To set the values at runtime, use . (I suppose one can write to directly too and apparently you can also use as described here) Display: The separators in the output are single tabs, btw. Set. Here the separators are just spaces. Works as well. See - "configure kernel parameters at runtime" for more. Reminder of the severity levels and the four values of kernel.printk given by Brian above: CUR = current severity level; only messages more important than this level are printed DEF = default sever…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment