diff --git a/apps/etterlatte-api/src/main/resources/logback.xml b/apps/etterlatte-api/src/main/resources/logback.xml index 5c7a4d3ca9e..2e0f5c8b73b 100644 --- a/apps/etterlatte-api/src/main/resources/logback.xml +++ b/apps/etterlatte-api/src/main/resources/logback.xml @@ -1,5 +1,7 @@ + + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-behandling/src/main/resources/logback.xml b/apps/etterlatte-behandling/src/main/resources/logback.xml index c3df6430333..fea7817af45 100644 --- a/apps/etterlatte-behandling/src/main/resources/logback.xml +++ b/apps/etterlatte-behandling/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-beregning-kafka/src/main/resources/logback.xml b/apps/etterlatte-beregning-kafka/src/main/resources/logback.xml index 5ae7aa2bac7..d7cbfef0815 100644 --- a/apps/etterlatte-beregning-kafka/src/main/resources/logback.xml +++ b/apps/etterlatte-beregning-kafka/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-beregning/src/main/resources/logback.xml b/apps/etterlatte-beregning/src/main/resources/logback.xml index 6a327c0f501..d90fac220e1 100644 --- a/apps/etterlatte-beregning/src/main/resources/logback.xml +++ b/apps/etterlatte-beregning/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-brev-api/src/main/resources/logback.xml b/apps/etterlatte-brev-api/src/main/resources/logback.xml index dad50cb982c..c2d9b4376f3 100644 --- a/apps/etterlatte-brev-api/src/main/resources/logback.xml +++ b/apps/etterlatte-brev-api/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-brev-kafka/src/main/resources/logback.xml b/apps/etterlatte-brev-kafka/src/main/resources/logback.xml index 0112fb6bba6..e333a53854d 100644 --- a/apps/etterlatte-brev-kafka/src/main/resources/logback.xml +++ b/apps/etterlatte-brev-kafka/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-egne-ansatte-lytter/src/main/resources/logback.xml b/apps/etterlatte-egne-ansatte-lytter/src/main/resources/logback.xml index 00370935fea..88a7572e026 100644 --- a/apps/etterlatte-egne-ansatte-lytter/src/main/resources/logback.xml +++ b/apps/etterlatte-egne-ansatte-lytter/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-grunnlag/logback.xml b/apps/etterlatte-grunnlag/logback.xml index 3faf489698f..5533b9555ea 100644 --- a/apps/etterlatte-grunnlag/logback.xml +++ b/apps/etterlatte-grunnlag/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-grunnlag/src/main/resources/logback.xml b/apps/etterlatte-grunnlag/src/main/resources/logback.xml index dc082814ffc..553e52b7dad 100644 --- a/apps/etterlatte-grunnlag/src/main/resources/logback.xml +++ b/apps/etterlatte-grunnlag/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-gyldig-soeknad/src/main/resources/logback.xml b/apps/etterlatte-gyldig-soeknad/src/main/resources/logback.xml index 5ae7aa2bac7..d7cbfef0815 100644 --- a/apps/etterlatte-gyldig-soeknad/src/main/resources/logback.xml +++ b/apps/etterlatte-gyldig-soeknad/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-hendelser-joark/src/main/resources/logback.xml b/apps/etterlatte-hendelser-joark/src/main/resources/logback.xml index 4a36215eb6a..010c62e35a3 100644 --- a/apps/etterlatte-hendelser-joark/src/main/resources/logback.xml +++ b/apps/etterlatte-hendelser-joark/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-hendelser-pdl/src/main/resources/logback.xml b/apps/etterlatte-hendelser-pdl/src/main/resources/logback.xml index 0112fb6bba6..7fec40fd78e 100644 --- a/apps/etterlatte-hendelser-pdl/src/main/resources/logback.xml +++ b/apps/etterlatte-hendelser-pdl/src/main/resources/logback.xml @@ -1,5 +1,7 @@ + + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-hendelser-samordning/src/main/resources/logback.xml b/apps/etterlatte-hendelser-samordning/src/main/resources/logback.xml index 0112fb6bba6..e333a53854d 100644 --- a/apps/etterlatte-hendelser-samordning/src/main/resources/logback.xml +++ b/apps/etterlatte-hendelser-samordning/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-institusjonsopphold/src/main/resources/logback.xml b/apps/etterlatte-institusjonsopphold/src/main/resources/logback.xml index 00370935fea..88a7572e026 100644 --- a/apps/etterlatte-institusjonsopphold/src/main/resources/logback.xml +++ b/apps/etterlatte-institusjonsopphold/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-tidshendelser/src/main/resources/logback.xml b/apps/etterlatte-tidshendelser/src/main/resources/logback.xml index ee440cd072f..c5e6fb35e87 100644 --- a/apps/etterlatte-tidshendelser/src/main/resources/logback.xml +++ b/apps/etterlatte-tidshendelser/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-tilbakekreving/src/main/resources/logback.xml b/apps/etterlatte-tilbakekreving/src/main/resources/logback.xml index 6a327c0f501..d90fac220e1 100644 --- a/apps/etterlatte-tilbakekreving/src/main/resources/logback.xml +++ b/apps/etterlatte-tilbakekreving/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-trygdetid-kafka/src/main/resources/logback.xml b/apps/etterlatte-trygdetid-kafka/src/main/resources/logback.xml index 5ae7aa2bac7..d7cbfef0815 100644 --- a/apps/etterlatte-trygdetid-kafka/src/main/resources/logback.xml +++ b/apps/etterlatte-trygdetid-kafka/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-trygdetid/src/main/resources/logback.xml b/apps/etterlatte-trygdetid/src/main/resources/logback.xml index 6a327c0f501..d90fac220e1 100644 --- a/apps/etterlatte-trygdetid/src/main/resources/logback.xml +++ b/apps/etterlatte-trygdetid/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-utbetaling/src/main/resources/logback.xml b/apps/etterlatte-utbetaling/src/main/resources/logback.xml index dad50cb982c..c2d9b4376f3 100644 --- a/apps/etterlatte-utbetaling/src/main/resources/logback.xml +++ b/apps/etterlatte-utbetaling/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-vedtaksvurdering-kafka/src/main/resources/logback.xml b/apps/etterlatte-vedtaksvurdering-kafka/src/main/resources/logback.xml index dad50cb982c..c2d9b4376f3 100644 --- a/apps/etterlatte-vedtaksvurdering-kafka/src/main/resources/logback.xml +++ b/apps/etterlatte-vedtaksvurdering-kafka/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-vedtaksvurdering/src/main/resources/logback.xml b/apps/etterlatte-vedtaksvurdering/src/main/resources/logback.xml index 6fa6798e959..c76ea41d236 100644 --- a/apps/etterlatte-vedtaksvurdering/src/main/resources/logback.xml +++ b/apps/etterlatte-vedtaksvurdering/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/apps/etterlatte-vilkaarsvurdering-kafka/src/main/resources/logback.xml b/apps/etterlatte-vilkaarsvurdering-kafka/src/main/resources/logback.xml index 0112fb6bba6..e333a53854d 100644 --- a/apps/etterlatte-vilkaarsvurdering-kafka/src/main/resources/logback.xml +++ b/apps/etterlatte-vilkaarsvurdering-kafka/src/main/resources/logback.xml @@ -1,5 +1,6 @@ + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n diff --git a/libs/saksbehandling-common/src/main/kotlin/SkjulFnr.kt b/libs/saksbehandling-common/src/main/kotlin/SkjulFnr.kt index 0aaf0dabfff..9e0560edfe8 100644 --- a/libs/saksbehandling-common/src/main/kotlin/SkjulFnr.kt +++ b/libs/saksbehandling-common/src/main/kotlin/SkjulFnr.kt @@ -3,6 +3,9 @@ package no.nav.etterlatte.libs.common.person import ch.qos.logback.classic.pattern.MessageConverter import ch.qos.logback.classic.spi.ILoggingEvent +/* + Denne brukes i logback.xml for å anonymisere fnr som randomly havner i loggene + */ private val fnrRegex = Regex("\\b\\d{11}\\b") class FnrCoverConverter : MessageConverter() {