fix(middleware): redact query strings from access logs
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
This commit is contained in:
@@ -49,7 +49,7 @@ func Logger(next http.Handler) http.Handler {
|
||||
log.Printf(
|
||||
"%s %s %d %s trace_id=%s",
|
||||
r.Method,
|
||||
r.RequestURI,
|
||||
r.URL.Path,
|
||||
wrapped.statusCode,
|
||||
duration,
|
||||
tid,
|
||||
|
||||
Reference in New Issue
Block a user