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
parent c605780c95
commit c010e10f7c
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).