Skip to content

Commit

Permalink
chore: added more logging
Browse files Browse the repository at this point in the history
Co-authored-by: Natalie Uranes <[email protected]>
  • Loading branch information
jaflaten and nuranes committed Dec 5, 2024
1 parent 655232a commit c8750c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ fun mapToDao(
existingId: UUID?,
): NasjonalManuellOppgaveDAO {
mapper.registerModules(JavaTimeModule())
securelog.info("Mapper til DAO: $papirManuellOppgave")

val nasjonalManuellOppgaveDAO =
NasjonalManuellOppgaveDAO(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class NasjonalOppgaveController(
val sykmelding = nasjonalOppgaveService.findBySykmeldingId(sykmeldingId)
if (sykmelding != null) {
log.info("papirsykmelding: henter sykmelding med id $sykmeldingId fra syk-dig-db")
securelog.info("hentert nasjonalOppgave fra db $sykmelding")
return ResponseEntity.ok(nasjonalOppgaveService.mapFromDao(sykmelding))
}
log.info("papirsykmelding: henter ferdigstilt sykmelding med id $sykmeldingId gjennom syk-dig proxy")
Expand Down

0 comments on commit c8750c0

Please sign in to comment.