We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d995865 + 64b9482 commit a1a05a8Copy full SHA for a1a05a8
1 file changed
pkg/api/log.go
@@ -73,6 +73,7 @@ func Logger(log zerolog.Logger) mux.MiddlewareFunc {
73
clientIP := r.RemoteAddr
74
method := r.Method
75
headers := r.Header
76
+ delete(headers, "Authorization") // strip from logs
77
statusCode := sw.status
78
bodySize := sw.length
79
if raw != "" {
0 commit comments