[Bridge] How to disable verbose kernel logs for linux ethernet bridge?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 08 May 2005 11:44:32 +0800
Alan Tam <Tam@xxxxxxxxxxx> wrote:

> Hi,
> 
> This is part of my dmesg output which is generated whenever some network 
> topology changes. It is very annoying. Any ways for me to inhibit those 
> which are only informational but not warnings which I need to take care? 
> I am running the all bridges on tap* interfaces emulated by OpenVPN. I 
> am running stock 2.6.8 kernel from Debian sarge.
> 
> Please CC me Thanks!
> 
>

The easiest way would be to change all those printk's you don't want to see
in the br_stp_if.c from:
	printk(KERN_INFO "%s: port ...
to
	printk(KERN_DEBUG "%s: port ...

then they will show up only in /var/log/messages.

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux