Skip to content

Commit 5fee797

Browse files
Volodymyr Samotiylguohan
Volodymyr Samotiy
authored andcommitted
[syncd]: Clean-up log messages (sonic-net#331)
Signed-off-by: Volodymyr Samotiy <[email protected]>
1 parent 01008cc commit 5fee797

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

syncd/syncd.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2491,7 +2491,7 @@ sai_status_t processEvent(
24912491
{
24922492
if (status != SAI_STATUS_SUCCESS)
24932493
{
2494-
SWSS_LOG_WARN("get API for key: %s op: %s returned status: %s",
2494+
SWSS_LOG_DEBUG("get API for key: %s op: %s returned status: %s",
24952495
key.c_str(),
24962496
op.c_str(),
24972497
sai_serialize_status(status).c_str());

syncd/syncd_flex_counter.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ void FlexCounter::saiUpdateSupportedPortCounters(sai_object_id_t portId)
683683

684684
if (status != SAI_STATUS_SUCCESS)
685685
{
686-
SWSS_LOG_WARN("Counter %s is not supported on port RID %s: %s",
686+
SWSS_LOG_INFO("Counter %s is not supported on port RID %s: %s",
687687
sai_serialize_port_stat(counter).c_str(),
688688
sai_serialize_object_id(portId).c_str(),
689689
sai_serialize_status(status).c_str());
@@ -710,7 +710,7 @@ void FlexCounter::saiUpdateSupportedQueueCounters(
710710

711711
if (status != SAI_STATUS_SUCCESS)
712712
{
713-
SWSS_LOG_WARN("Counter %s is not supported on queue %s, rv: %s",
713+
SWSS_LOG_INFO("Counter %s is not supported on queue %s, rv: %s",
714714
sai_serialize_queue_stat(counter).c_str(),
715715
sai_serialize_object_id(queueId).c_str(),
716716
sai_serialize_status(status).c_str());

0 commit comments

Comments
 (0)