Skip to content

Commit b4893ef

Browse files
shikenghualguohan
authored andcommitted
[flex counter]: Lower the severity of log during rif counter support check (sonic-net#504)
We check to see which counters are supported, if something is not, that is not an error. It may cause some Ansible tests fail because of the loganalyzer found errors in syslog.
1 parent b859344 commit b4893ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syncd/syncd_flex_counter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ void FlexCounter::setRifCounterList(
456456

457457
if (supportedIds.empty())
458458
{
459-
SWSS_LOG_ERROR("Router interface %s does not have supported counters", sai_serialize_object_id(rifId).c_str());
459+
SWSS_LOG_NOTICE("Router interface %s does not have supported counters", sai_serialize_object_id(rifId).c_str());
460460

461461
// Remove flex counter if all counter IDs and plugins are unregistered
462462
if (fc.isEmpty())

0 commit comments

Comments
 (0)