From df92fb7283b4490a33e14fd1d6626e9c17a3b6ea Mon Sep 17 00:00:00 2001 From: Vivek Date: Wed, 5 Oct 2022 08:56:21 -0700 Subject: [PATCH] Improve verbosity level and provide more info in the log (#2472) *Improve verbosity level and provide more info in the log (#2472) Signed-off-by: Vivek Reddy Karri --- orchagent/intfsorch.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/orchagent/intfsorch.cpp b/orchagent/intfsorch.cpp index a8bcafa1e3e3..595ec7292371 100644 --- a/orchagent/intfsorch.cpp +++ b/orchagent/intfsorch.cpp @@ -183,7 +183,7 @@ void IntfsOrch::increaseRouterIntfsRefCount(const string &alias) SWSS_LOG_ENTER(); m_syncdIntfses[alias].ref_count++; - SWSS_LOG_DEBUG("Router interface %s ref count is increased to %d", + SWSS_LOG_INFO("Router interface %s ref count is increased to %d", alias.c_str(), m_syncdIntfses[alias].ref_count); } @@ -192,7 +192,7 @@ void IntfsOrch::decreaseRouterIntfsRefCount(const string &alias) SWSS_LOG_ENTER(); m_syncdIntfses[alias].ref_count--; - SWSS_LOG_DEBUG("Router interface %s ref count is decreased to %d", + SWSS_LOG_INFO("Router interface %s ref count is decreased to %d", alias.c_str(), m_syncdIntfses[alias].ref_count); } @@ -1271,7 +1271,7 @@ bool IntfsOrch::removeRouterIntfs(Port &port) if (m_syncdIntfses[port.m_alias].ref_count > 0) { - SWSS_LOG_NOTICE("Router interface is still referenced"); + SWSS_LOG_NOTICE("Router interface %s is still referenced with ref count %d", port.m_alias.c_str(), m_syncdIntfses[port.m_alias].ref_count); return false; }