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
No known key found for this signature in database
GPG Key ID: 97A3DFFE8E9320B7
1 changed files with 1 additions and 1 deletions

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).