From b1eec5a7d27eac84f801c10ea86914f3f3370d88 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 30 Aug 2021 17:18:52 +0200 Subject: [PATCH] outposts/proxy: add more logging Signed-off-by: Jens Langhammer --- internal/outpost/proxy/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/outpost/proxy/proxy.go b/internal/outpost/proxy/proxy.go index 4fe7c11580..9a5b223741 100644 --- a/internal/outpost/proxy/proxy.go +++ b/internal/outpost/proxy/proxy.go @@ -121,7 +121,7 @@ func NewOAuthProxy(opts *options.Options, provider api.ProxyOutpostConfig, c *ht redirectURL.Path = fmt.Sprintf("%s/callback", opts.ProxyPrefix) } - logger.Printf("proxy instance configured for Client ID: %s", opts.ClientID) + logger.WithField("auth_url", opts.GetProvider().Data().LoginURL).WithField("client_id", opts.ClientID).Info("proxy instance configured") sessionChain := buildSessionChain(opts, sessionStore)