Skip to content

Commit

Permalink
Gå over til bruk av securelogger ved logging av persongrunnlag, da de…
Browse files Browse the repository at this point in the history
…nne kan inneholde aktørId (#5084)

Ingen favrokort bundet til denne - Vi rydder opp i steder der vi logger
aktørId i vanlige logger.
  • Loading branch information
UyQuangNguyen authored Feb 18, 2025
1 parent 24e664a commit 14b1ba4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class PersongrunnlagService(
personopplysningGrunnlagRepository.saveAndFlush(aktivPersongrunnlag.also { it.aktiv = false })
}

logger.info("${SikkerhetContext.hentSaksbehandlerNavn()} oppretter persongrunnlag $personopplysningGrunnlag")
secureLogger.info("${SikkerhetContext.hentSaksbehandlerNavn()} oppretter persongrunnlag $personopplysningGrunnlag")
return personopplysningGrunnlagRepository.save(personopplysningGrunnlag)
}

Expand Down

0 comments on commit 14b1ba4

Please sign in to comment.