Stephen Hemminger wrote:

On Sun, 08 May 2005 11:44:32 +0800
Alan Tam <[EMAIL PROTECTED]> 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

_______________________________________________
Bridge mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/bridge

Reply via email to