From c526659b7fb4d7f7646d38eeefd621ca26cceb79 Mon Sep 17 00:00:00 2001 From: John Murret Date: Thu, 1 Aug 2024 11:23:19 -0600 Subject: [PATCH] NET-10610 - stop logging no data as errors in DNS lookups (#21578) --- agent/dns/router.go | 1 - 1 file changed, 1 deletion(-) diff --git a/agent/dns/router.go b/agent/dns/router.go index 9c0175a776..34de8a7701 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,