From dec9cdea365800ca5331412b3afbb275b15a7971 Mon Sep 17 00:00:00 2001 From: Mykola F <37578614+mykolaf@users.noreply.github.com> Date: Tue, 18 Dec 2018 22:26:38 +0200 Subject: [PATCH] [flex counter] lower the severity of log during stat support check (#405) Signed-off-by: Mykola Faryma --- syncd/syncd_flex_counter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syncd/syncd_flex_counter.cpp b/syncd/syncd_flex_counter.cpp index 4db13103c8d8..145209d783c2 100644 --- a/syncd/syncd_flex_counter.cpp +++ b/syncd/syncd_flex_counter.cpp @@ -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()) @@ -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()) @@ -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())