libteam
libteam copied to clipboard
How do I reduce logs ?
More log messages are generated to /var/log/syslog
teamd_team0[504]: Remapped hash "166" (delta 1137) to port eth0 ...
How do I reduce it ? I try change debug_level to 0, but still many logs ...
+1
Jan 21 02:55:35 switch5 DEBUG teamd_PortChannel48[202]: Ethernet48: lacp info state: 0xBD.
These messages are still in the syslog even through my debug level is set to 0.
root@switch5:/# teamdctl PortChannel48 state dump | grep debug
"debug_level": 0,
that is certainly a bug. debug_level==0 should prevend any debug messages to appear.
Still an issue, for additional information see https://lists.fedorahosted.org/archives/list/[email protected]/thread/JBB3BYA4XKB3XH2NAGVKI3ID2HBPKULK/
Looks like this is a very easy fix though, just need to change the function being called to teamd_log_dbgx().