From cf216be8c1944032c6218589cc2705813cf54a47 Mon Sep 17 00:00:00 2001 From: Prince Sunny Date: Wed, 6 Apr 2022 16:29:51 -0700 Subject: [PATCH] Change ERR to Notice for tunnel term create fail (#2219) *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. --- orchagent/tunneldecaporch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchagent/tunneldecaporch.cpp b/orchagent/tunneldecaporch.cpp index 6ef2c96f7451..7d1b8b805b15 100644 --- a/orchagent/tunneldecaporch.cpp +++ b/orchagent/tunneldecaporch.cpp @@ -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 {