From 2a3c80f4fd86e174a3ef7de13f0e0b878e6f72c8 Mon Sep 17 00:00:00 2001 From: Jan-Olav Eide Date: Tue, 28 Jan 2025 12:59:28 +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 38ffe03c..1d7b2913 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 @@ -30,7 +30,7 @@ class OAuth2ClientRequestInterceptor(private val properties: ClientConfiguration override fun intercept(req: HttpRequest, body: ByteArray, execution: ClientHttpRequestExecution): ClientHttpResponse { log.trace("Intercepting request to {}", req.uri) matcher.findProperties(properties, req.uri)?.let { - log.trace("Found properties {} for uri {}", it, req.uri) + 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")