Skip to content

Commit

Permalink
Change ERR to Notice for tunnel term create fail (#2219)
Browse files Browse the repository at this point in the history
*For a specific dst ip, if the tunnel terminator already exists, trying to create a term for the same IP one for another different tunnel should not return ERR log. This is an expected flow, and the log can be NOTICE level.
  • Loading branch information
prsunny authored Apr 6, 2022
1 parent 50d5be2 commit cf216be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/tunneldecaporch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ bool TunnelDecapOrch::addDecapTunnelTermEntries(string tunnelKey, IpAddresses ds
// check if the there's an entry already for the ip
if (existingIps.find(ip) != existingIps.end())
{
SWSS_LOG_ERROR("%s already exists. Did not create entry.", ip.c_str());
SWSS_LOG_NOTICE("%s already exists. Did not create entry.", ip.c_str());
}
else
{
Expand Down

0 comments on commit cf216be

Please sign in to comment.