From 146c2d944ad766a0264f1a6495da9eabf37a4635 Mon Sep 17 00:00:00 2001 From: Nuno Diegues Date: Fri, 15 Jan 2021 19:06:54 +0000 Subject: [PATCH] TUN-3594: Log ingress response at debug level --- origin/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/origin/proxy.go b/origin/proxy.go index b77e1de1..247aa003 100644 --- a/origin/proxy.go +++ b/origin/proxy.go @@ -191,7 +191,7 @@ func (c *client) logRequest(r *http.Request, cfRay string, lbProbe bool, ruleNum func (c *client) logOriginResponse(r *http.Response, cfRay string, lbProbe bool, ruleNum int) { responseByCode.WithLabelValues(strconv.Itoa(r.StatusCode)).Inc() if cfRay != "" { - c.log.Info().Msgf("CF-RAY: %s Status: %s served by ingress %d", cfRay, r.Status, ruleNum) + c.log.Debug().Msgf("CF-RAY: %s Status: %s served by ingress %d", cfRay, r.Status, ruleNum) } else if lbProbe { c.log.Debug().Msgf("Response to Load Balancer health check %s", r.Status) } else {