Skip to content

Commit dec9cde

Browse files
mykolafkcudnik
authored andcommitted
[flex counter] lower the severity of log during stat support check (sonic-net#405)
Signed-off-by: Mykola Faryma <[email protected]>
1 parent ebd8dfc commit dec9cde

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

syncd/syncd_flex_counter.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void FlexCounter::setPortCounterList(
136136

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

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

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

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

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

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

0 commit comments

Comments
 (0)