From fb6f05c492cd31531bcf62f560899b30dc0be47e Mon Sep 17 00:00:00 2001 From: Andreas Jonsson Date: Thu, 14 Nov 2024 14:43:34 +0100 Subject: [PATCH] Use correct logger. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Øyvind N. Wedøe --- .../nav/klage/oppgave/config/ProblemHandlingControllerAdvice.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/klage/oppgave/config/ProblemHandlingControllerAdvice.kt b/src/main/kotlin/no/nav/klage/oppgave/config/ProblemHandlingControllerAdvice.kt index f01b1f7e6..65300f9b9 100644 --- a/src/main/kotlin/no/nav/klage/oppgave/config/ProblemHandlingControllerAdvice.kt +++ b/src/main/kotlin/no/nav/klage/oppgave/config/ProblemHandlingControllerAdvice.kt @@ -25,7 +25,7 @@ class ProblemHandlingControllerAdvice : ResponseEntityExceptionHandler() { ex: AsyncRequestNotUsableException, request: NativeWebRequest ) { - logger.debug("Suppressing AsyncRequestNotUsableException. This is probably due to lost client during async/SSE operations.", ex) + secureLogger.debug("Suppressing AsyncRequestNotUsableException. This is probably due to lost client during async/SSE operations.", ex) } @ExceptionHandler