From ac42f1b66d476808cfc7e516315ec30b69e2a516 Mon Sep 17 00:00:00 2001 From: Helene Arnesen Date: Fri, 26 Jan 2024 09:30:21 +0100 Subject: [PATCH] logger fellesformat i mottak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jørn-Are Flaten --- src/main/kotlin/no/nav/syfo/service/SykmeldingService.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/kotlin/no/nav/syfo/service/SykmeldingService.kt b/src/main/kotlin/no/nav/syfo/service/SykmeldingService.kt index eae9470f..cc88ceed 100644 --- a/src/main/kotlin/no/nav/syfo/service/SykmeldingService.kt +++ b/src/main/kotlin/no/nav/syfo/service/SykmeldingService.kt @@ -29,6 +29,7 @@ import no.nav.syfo.model.ReceivedSykmelding import no.nav.syfo.model.Status import no.nav.syfo.pdl.model.PdlPerson import no.nav.syfo.pdl.service.PdlPersonService +import no.nav.syfo.securelog import no.nav.syfo.util.LoggingMeta import no.nav.syfo.util.extractHelseOpplysningerArbeidsuforhet import no.nav.syfo.util.fellesformatMarshaller @@ -158,6 +159,9 @@ class SykmeldingService( "Sykmelding mappet til internt format uten feil {}", fields(loggingMeta) ) + securelog.info("Fellesformat: {}", + fellesformat.toString() + ) PAPIRSM_MAPPET.labels("ok").inc() log.info("Validerer sykmelding mot regler, {}", fields(loggingMeta))