From 059fc32f002d00e980b438b3edbdf7b8bcdf9a90 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Mon, 27 Sep 2021 12:06:06 -0600 Subject: [PATCH] Revert 3336faf2 (close #4360) Debug log is correct level for this --- modules/caddyhttp/reverseproxy/reverseproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caddyhttp/reverseproxy/reverseproxy.go b/modules/caddyhttp/reverseproxy/reverseproxy.go index aad3c7414..360b018e0 100644 --- a/modules/caddyhttp/reverseproxy/reverseproxy.go +++ b/modules/caddyhttp/reverseproxy/reverseproxy.go @@ -578,7 +578,7 @@ func (h *Handler) reverseProxy(rw http.ResponseWriter, req *http.Request, repl * zap.Object("request", caddyhttp.LoggableHTTPRequest{Request: req}), ) if err != nil { - logger.Error("upstream roundtrip", zap.Error(err)) + logger.Debug("upstream roundtrip", zap.Error(err)) return err } logger.Debug("upstream roundtrip",