mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-11 05:30:30 +08:00
TUN-4343: Fix broken build by setting debug field correctly
This commit is contained in:
committed by
Areg Harutyunyan
parent
f3b0b33dc5
commit
5b35e968f3
@@ -240,7 +240,7 @@ func (p *proxy) logRequest(r *http.Request, fields logFields) {
|
|||||||
}
|
}
|
||||||
p.log.Debug().
|
p.log.Debug().
|
||||||
Str("CF-RAY", fields.cfRay).
|
Str("CF-RAY", fields.cfRay).
|
||||||
Fields(r.Header).
|
Str("Header", fmt.Sprintf("%+v", r.Header)).
|
||||||
Str("host", r.Host).
|
Str("host", r.Host).
|
||||||
Str("path", r.URL.Path).
|
Str("path", r.URL.Path).
|
||||||
Interface("rule", fields.rule).
|
Interface("rule", fields.rule).
|
||||||
|
|||||||
Reference in New Issue
Block a user