mirror of
https://github.com/marcusDenslow/terminalShop.git
synced 2026-10-25 02:52:20 +02:00
fix(middleware): redact query strings from access logs
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