From b4893ef16af13aef420ac8a4ab092b1856c5a2ed Mon Sep 17 00:00:00 2001 From: shikenghua Date: Thu, 5 Sep 2019 07:36:54 +0800 Subject: [PATCH] [flex counter]: Lower the severity of log during rif counter support check (#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. --- syncd/syncd_flex_counter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncd/syncd_flex_counter.cpp b/syncd/syncd_flex_counter.cpp index 0370487067aa..795bc9831255 100644 --- a/syncd/syncd_flex_counter.cpp +++ b/syncd/syncd_flex_counter.cpp @@ -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())