Skip to content

Commit

Permalink
[syncd]: Clean-up log messages (sonic-net#331)
Browse files Browse the repository at this point in the history
Signed-off-by: Volodymyr Samotiy <[email protected]>
  • Loading branch information
Volodymyr Samotiy authored and lguohan committed Jun 19, 2018
1 parent 01008cc commit 5fee797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion syncd/syncd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2491,7 +2491,7 @@ sai_status_t processEvent(
{
if (status != SAI_STATUS_SUCCESS)
{
SWSS_LOG_WARN("get API for key: %s op: %s returned status: %s",
SWSS_LOG_DEBUG("get API for key: %s op: %s returned status: %s",
key.c_str(),
op.c_str(),
sai_serialize_status(status).c_str());
Expand Down
4 changes: 2 additions & 2 deletions syncd/syncd_flex_counter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ void FlexCounter::saiUpdateSupportedPortCounters(sai_object_id_t portId)

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

if (status != SAI_STATUS_SUCCESS)
{
SWSS_LOG_WARN("Counter %s is not supported on queue %s, rv: %s",
SWSS_LOG_INFO("Counter %s is not supported on queue %s, rv: %s",
sai_serialize_queue_stat(counter).c_str(),
sai_serialize_object_id(queueId).c_str(),
sai_serialize_status(status).c_str());
Expand Down

0 comments on commit 5fee797

Please sign in to comment.