From bda8fe2fbe4a413ef4baa358c80f3afdd280d742 Mon Sep 17 00:00:00 2001 From: cthuang Date: Fri, 27 Nov 2020 12:28:20 +0000 Subject: [PATCH] TUN-3594: Log response status 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 f3b34982..8a0cbc2d 100644 --- a/origin/proxy.go +++ b/origin/proxy.go @@ -190,7 +190,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.logger.Infof("CF-RAY: %s Status: %s served by ingress %d", cfRay, r.Status, ruleNum) + c.logger.Debugf("CF-RAY: %s Status: %s served by ingress %d", cfRay, r.Status, ruleNum) } else if lbProbe { c.logger.Debugf("Response to Load Balancer health check %s", r.Status) } else {