Skip to content

Commit

Permalink
[flex counter] lower the severity of log during stat support check (s…
Browse files Browse the repository at this point in the history
…onic-net#405)

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
  • Loading branch information
mykolaf authored and kcudnik committed Dec 18, 2018
1 parent ebd8dfc commit dec9cde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syncd/syncd_flex_counter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void FlexCounter::setPortCounterList(

if (supportedIds.size() == 0)
{
SWSS_LOG_ERROR("Port %s does not has supported counters", sai_serialize_object_id(portId).c_str());
SWSS_LOG_NOTICE("Port %s does not has supported counters", sai_serialize_object_id(portId).c_str());

// Remove flex counter if all counter IDs and plugins are unregistered
if (fc.isEmpty())
Expand Down Expand Up @@ -188,7 +188,7 @@ void FlexCounter::setQueueCounterList(

if (supportedIds.size() == 0)
{
SWSS_LOG_ERROR("Queue %s does not has supported counters", sai_serialize_object_id(queueId).c_str());
SWSS_LOG_NOTICE("Queue %s does not has supported counters", sai_serialize_object_id(queueId).c_str());

// Remove flex counter if all counter IDs and plugins are unregistered
if (fc.isEmpty())
Expand Down Expand Up @@ -288,7 +288,7 @@ void FlexCounter::setPriorityGroupCounterList(

if (supportedIds.size() == 0)
{
SWSS_LOG_ERROR("Priority group %s does not have supported counters", sai_serialize_object_id(priorityGroupId).c_str());
SWSS_LOG_NOTICE("Priority group %s does not have supported counters", sai_serialize_object_id(priorityGroupId).c_str());

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

0 comments on commit dec9cde

Please sign in to comment.