Skip to content

Commit

Permalink
Logg message problems til trace. Bruk MDC for å logge IDer.
Browse files Browse the repository at this point in the history
  • Loading branch information
geiralund committed Jul 30, 2024
1 parent 5996327 commit 44b80fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ internal class InntektNesteMånedService(
}.toMap()

packet["@løsning"] = løsning
log.info { "Løst behov for $søknadUUID" }
log.info { "Løst behov $løserBehov" }
context.publish(packet.toJson())
}
}
Expand All @@ -98,6 +98,6 @@ internal class InntektNesteMånedService(
problems: MessageProblems,
context: MessageContext,
) {
log.info { problems.toString() }
log.trace { problems.toString() }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ internal class SykepengerLøsningService(
problems: MessageProblems,
context: MessageContext,
) {
log.info { problems.toString() }
log.trace { problems.toString() }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ internal class InntektIdBehovløser(
problems: MessageProblems,
context: MessageContext,
) {
log.info { problems.toString() }
log.trace { problems.toString() }
}
}

0 comments on commit 44b80fd

Please sign in to comment.