diff --git a/log/src/main/java/no/nav/familie/log/filter/RequestTimeFilter.kt b/log/src/main/java/no/nav/familie/log/filter/RequestTimeFilter.kt index 12a46127..d2b5632b 100644 --- a/log/src/main/java/no/nav/familie/log/filter/RequestTimeFilter.kt +++ b/log/src/main/java/no/nav/familie/log/filter/RequestTimeFilter.kt @@ -36,7 +36,7 @@ open class RequestTimeFilter : Filter { code: Int, timer: StopWatch, ) { - if (HttpStatus.valueOf(code).isError) { + if (HttpStatus.valueOf(code).is5xxServerError) { LOG.warn("{} - {} - ({}). Dette tok {}ms", request.method, request.requestURI, code, timer.totalTimeMillis) } else { if (!shouldNotFilter(request.requestURI)) { diff --git a/pom.xml b/pom.xml index 5558710a..0e64de76 100644 --- a/pom.xml +++ b/pom.xml @@ -23,11 +23,11 @@ UTF-8 3.0_20240514121145_5e689cc - 5.9.0 - 1.9.24 - 1.13.10 + 5.9.1 + 2.0.0 + 1.13.11 4.1.8 - 3.5.4 + 3.8.0 @@ -87,7 +87,7 @@ com.nimbusds oauth2-oidc-sdk - 11.10.1 + 11.13 @@ -212,7 +212,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.13 + 1.7.0 org.apache.maven.plugins @@ -318,7 +318,7 @@ com.pinterest.ktlint ktlint-cli - 1.2.1 + 1.3.1