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

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

 



Stephen Hemminger wrote:

>On Sun, 08 May 2005 11:44:32 +0800
>Alan Tam <Tam@xxxxxxxxxxx> wrote:
>  
>
>>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.
>>    
>>
>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.
>  
>
Yes, but recompiling the kernel is not a good thing to me. I think "echo 
5 > /proc/sys/kernel/printk" is acceptable. The reason it isn't the 
default is probably that most part of the kernel won't be so verbose.

-- 
Regards,
Alan


[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