mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-05-30 19:46:40 +00:00
Repeat the method and url in the log line for the userinfo username
This commit is contained in:
@@ -270,7 +270,7 @@ func newImpersonationReverseProxyFunc(restConfig *rest.Config) (func(*genericapi
|
||||
}
|
||||
|
||||
plog.Debug("impersonation proxy servicing request", "method", r.Method, "url", r.URL.String())
|
||||
plog.Trace("impersonation proxy servicing request was for user",
|
||||
plog.Trace("impersonation proxy servicing request was for user", "method", r.Method, "url", r.URL.String(),
|
||||
"username", userInfo.GetName(), // this info leak seems fine for trace level logs
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user