Skip to content

Commit

Permalink
f - Legger til vasking foedselsnummer fra resultat
Browse files Browse the repository at this point in the history
  • Loading branch information
dskarpas committed Nov 15, 2023
1 parent 38636ae commit 9d70f2c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import io.micrometer.core.instrument.Metrics
import no.nav.eessi.pensjon.eux.model.SedHendelse
import no.nav.eessi.pensjon.pdl.OppgaveModel
import no.nav.eessi.pensjon.pdl.PersonMottakKlient
import no.nav.eessi.pensjon.shared.person.Fodselsnummer
import no.nav.eessi.pensjon.utils.mapJsonToAny
import no.nav.eessi.pensjon.utils.toJson
import org.slf4j.LoggerFactory
Expand Down Expand Up @@ -63,7 +64,7 @@ class SedHendelseBehandler(
}

private fun log(result: Result) {
logger.info(result.toString())
logger.info(Fodselsnummer.vask11sifre(result.toString()))
if (result is Oppdatering) {
secureLogger.info("Oppdatering til PDL:\n${result.pdlEndringsOpplysninger.toJson()}")
}
Expand Down

0 comments on commit 9d70f2c

Please sign in to comment.