Skip to content

Commit

Permalink
logger fellesformat i mottak
Browse files Browse the repository at this point in the history
Co-authored-by: Jørn-Are Flaten <[email protected]>
  • Loading branch information
helehar and jaflaten committed Jan 26, 2024
1 parent 4f3fe12 commit ac42f1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/kotlin/no/nav/syfo/service/SykmeldingService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit ac42f1b

Please sign in to comment.