From 901790e9a9c73ae271b26d39662fd07cc117eb85 Mon Sep 17 00:00:00 2001 From: Thomas Hipp Date: Mon, 10 Mar 2025 11:36:20 +0100 Subject: [PATCH] oauth2: Lower log level for Oauth2 message This message pollutes the logs. Its level can be safely lowered to Debug. --- http/oauth2/oauth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/oauth2/oauth2.go b/http/oauth2/oauth2.go index 68c0f3a1..03255c1d 100644 --- a/http/oauth2/oauth2.go +++ b/http/oauth2/oauth2.go @@ -94,7 +94,7 @@ func introspectRequest(r *http.Request, w http.ResponseWriter, tokenIntro TokenI t := fromIntrospectResponse(s, tok) ctx = security.ContextWithToken(ctx, &t) - log.Req(r).Info(). + log.Req(r).Debug(). Str("client_id", t.clientID). Str("user_id", t.userID). Msg("Oauth2")