From 5fee797a1d2ae4d4ba7d7c7ea8cc79578f5c19f5 Mon Sep 17 00:00:00 2001 From: Volodymyr Samotiy Date: Wed, 20 Jun 2018 00:07:16 +0300 Subject: [PATCH] [syncd]: Clean-up log messages (#331) Signed-off-by: Volodymyr Samotiy --- syncd/syncd.cpp | 2 +- syncd/syncd_flex_counter.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/syncd/syncd.cpp b/syncd/syncd.cpp index 2b70be35b268..c018455f8eea 100644 --- a/syncd/syncd.cpp +++ b/syncd/syncd.cpp @@ -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()); diff --git a/syncd/syncd_flex_counter.cpp b/syncd/syncd_flex_counter.cpp index 606085e502f4..f3a4537dc465 100644 --- a/syncd/syncd_flex_counter.cpp +++ b/syncd/syncd_flex_counter.cpp @@ -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()); @@ -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());