TUN-4343: Fix broken build by setting debug field correctly

This commit is contained in:
Adam Chalmers
2021-05-03 16:46:43 -05:00
committed by Areg Harutyunyan
parent f3b0b33dc5
commit 5b35e968f3

View File

@@ -240,7 +240,7 @@ func (p *proxy) logRequest(r *http.Request, fields logFields) {
}
p.log.Debug().
Str("CF-RAY", fields.cfRay).
Fields(r.Header).
Str("Header", fmt.Sprintf("%+v", r.Header)).
Str("host", r.Host).
Str("path", r.URL.Path).
Interface("rule", fields.rule).