libteam icon indicating copy to clipboard operation
libteam copied to clipboard

How do I reduce logs ?

Open vogll opened this issue 8 years ago • 3 comments

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 ...

vogll avatar Apr 29 '16 12:04 vogll

+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,

stcheng avatar Jan 21 '17 03:01 stcheng

that is certainly a bug. debug_level==0 should prevend any debug messages to appear.

jpirko avatar Jan 22 '17 11:01 jpirko

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().

systemdarena avatar Jul 16 '19 20:07 systemdarena