From fea7ade74941a529505681e384f3437e873b1f7a Mon Sep 17 00:00:00 2001 From: Mahesh Maddikayala <10645050+smaheshm@users.noreply.github.com> Date: Wed, 11 Nov 2020 13:17:32 -0800 Subject: [PATCH] [orchagent][port] In case of successful port creation set log level to INFO (#1500) * [orchagent][port] In case of successful port creation set log level to NOTICE instead of ERR --- orchagent/portsorch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchagent/portsorch.cpp b/orchagent/portsorch.cpp index 63f1e3ac2cf6..21318fa31958 100755 --- a/orchagent/portsorch.cpp +++ b/orchagent/portsorch.cpp @@ -1809,7 +1809,7 @@ bool PortsOrch::initPort(const string &alias, const int index, const set &l /* Determine if the port has already been initialized before */ if (m_portList.find(alias) != m_portList.end() && m_portList[alias].m_port_id == id) { - SWSS_LOG_INFO("Port has already been initialized before alias:%s", alias.c_str()); + SWSS_LOG_DEBUG("Port has already been initialized before alias:%s", alias.c_str()); } else { @@ -1853,7 +1853,7 @@ bool PortsOrch::initPort(const string &alias, const int index, const set &l m_portList[alias].m_init = true; - SWSS_LOG_ERROR("Initialized port %s", alias.c_str()); + SWSS_LOG_NOTICE("Initialized port %s", alias.c_str()); } else {