From 6887d0aca2f3dc4f3401b546ec169c9fbcbe10ce Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Mon, 15 Mar 2021 17:10:55 -0700 Subject: [PATCH] Repeat the method and url in the log line for the userinfo username --- internal/concierge/impersonator/impersonator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/concierge/impersonator/impersonator.go b/internal/concierge/impersonator/impersonator.go index 6df28a762..6e5ef6cc4 100644 --- a/internal/concierge/impersonator/impersonator.go +++ b/internal/concierge/impersonator/impersonator.go @@ -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 )