Skip to content

Commit 901790e

Browse files
oauth2: Lower log level for Oauth2 message
This message pollutes the logs. Its level can be safely lowered to Debug.
1 parent df0dbe8 commit 901790e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/oauth2/oauth2.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func introspectRequest(r *http.Request, w http.ResponseWriter, tokenIntro TokenI
9494
t := fromIntrospectResponse(s, tok)
9595
ctx = security.ContextWithToken(ctx, &t)
9696

97-
log.Req(r).Info().
97+
log.Req(r).Debug().
9898
Str("client_id", t.clientID).
9999
Str("user_id", t.userID).
100100
Msg("Oauth2")

0 commit comments

Comments
 (0)