From 2225814a4d796000cc4631f1bd6bb30c98c0d7fd Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Thu, 1 Aug 2024 14:40:02 -0400 Subject: [PATCH] Backport of NET-10610 - stop logging no data as errors in DNS lookups into release/1.19.x (#21583) backport of commit 0493b1e6f5fc58be2990fde33344262d5a4e0817 Co-authored-by: John Murret --- agent/dns/router.go | 1 - 1 file changed, 1 deletion(-) diff --git a/agent/dns/router.go b/agent/dns/router.go index 9c0175a776cb..34de8a77017d 100644 --- a/agent/dns/router.go +++ b/agent/dns/router.go @@ -275,7 +275,6 @@ func (r *Router) handleRequestRecursively(req *dns.Msg, reqCtx Context, configCt } resp, err := messageSerializer{}.serialize(serializedOpts) if err != nil { - r.logger.Error("error serializing DNS results", "error", err) return respGenerator.generateResponseFromError(&generateResponseFromErrorOpts{ req: req, err: err,