From c5adea39cb23f27eb464ef066b66743d7d78a19e Mon Sep 17 00:00:00 2001 From: Jan-Olav Eide Date: Tue, 28 Jan 2025 13:00:00 +0100 Subject: [PATCH] log less --- .../client/spring/oauth2/OAuth2ClientRequestInterceptor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/token-client-spring/src/main/kotlin/no/nav/security/token/support/client/spring/oauth2/OAuth2ClientRequestInterceptor.kt b/token-client-spring/src/main/kotlin/no/nav/security/token/support/client/spring/oauth2/OAuth2ClientRequestInterceptor.kt index 1d7b2913..ad5cf60a 100644 --- a/token-client-spring/src/main/kotlin/no/nav/security/token/support/client/spring/oauth2/OAuth2ClientRequestInterceptor.kt +++ b/token-client-spring/src/main/kotlin/no/nav/security/token/support/client/spring/oauth2/OAuth2ClientRequestInterceptor.kt @@ -33,7 +33,7 @@ class OAuth2ClientRequestInterceptor(private val properties: ClientConfiguration log.trace("Found properties for uri {}", req.uri) service.getAccessToken(it).access_token?.let { token -> req.headers.setBearerAuth(token) - log.trace("Finished setting Authorization header with accesstoken OK") + log.trace("Finished setting Authorization header with accesstoken OK for uri {}", req.uri) } } return execution.execute(req, body)