Skip to content

Commit

Permalink
[flex_counter]:change log level from error to notice (sonic-net#293)
Browse files Browse the repository at this point in the history
Signed-off-by: Sihui Han <sihan@microsoft.com>
  • Loading branch information
sihuihan88 authored and lguohan committed Feb 8, 2018
1 parent dc38653 commit c9e25ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syncd/syncd_flex_counter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void FlexCounter::removePort(
auto it = fc.m_portCounterIdsMap.find(portVid);
if (it == fc.m_portCounterIdsMap.end())
{
SWSS_LOG_ERROR("Trying to remove nonexisting port counter Ids 0x%lx", portVid);
SWSS_LOG_NOTICE("Trying to remove nonexisting port counter Ids 0x%lx", portVid);
// Remove flex counter if counter IDs map is empty
if (fc.isCounterMapsEmpty())
{
Expand Down Expand Up @@ -247,7 +247,7 @@ void FlexCounter::removeQueue(

if (!found)
{
SWSS_LOG_ERROR("Trying to remove nonexisting queue from flex counter 0x%lx", queueVid);
SWSS_LOG_NOTICE("Trying to remove nonexisting queue from flex counter 0x%lx", queueVid);
return;
}

Expand Down

0 comments on commit c9e25ec

Please sign in to comment.