Skip to content

Commit

Permalink
[flex counter]: Lower the severity of log during rif counter support …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
shikenghua authored and lguohan committed Sep 4, 2019
1 parent b859344 commit b4893ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncd/syncd_flex_counter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ void FlexCounter::setRifCounterList(

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

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

0 comments on commit b4893ef

Please sign in to comment.