Debug log is correct level for this
This commit is contained in:
Matthew Holt 2021-09-27 12:06:06 -06:00
parent e2d964ea30
commit 059fc32f00
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5

View File

@ -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",