Skip to content

Commit fea7ade

Browse files
authored
[orchagent][port] In case of successful port creation set log level to INFO (sonic-net#1500)
* [orchagent][port] In case of successful port creation set log level to NOTICE instead of ERR
1 parent 7b76d2e commit fea7ade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orchagent/portsorch.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,7 @@ bool PortsOrch::initPort(const string &alias, const int index, const set<int> &l
18091809
/* Determine if the port has already been initialized before */
18101810
if (m_portList.find(alias) != m_portList.end() && m_portList[alias].m_port_id == id)
18111811
{
1812-
SWSS_LOG_INFO("Port has already been initialized before alias:%s", alias.c_str());
1812+
SWSS_LOG_DEBUG("Port has already been initialized before alias:%s", alias.c_str());
18131813
}
18141814
else
18151815
{
@@ -1853,7 +1853,7 @@ bool PortsOrch::initPort(const string &alias, const int index, const set<int> &l
18531853

18541854
m_portList[alias].m_init = true;
18551855

1856-
SWSS_LOG_ERROR("Initialized port %s", alias.c_str());
1856+
SWSS_LOG_NOTICE("Initialized port %s", alias.c_str());
18571857
}
18581858
else
18591859
{

0 commit comments

Comments
 (0)