We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ac3a8 commit 91ec347Copy full SHA for 91ec347
src/main/kotlin/no/nav/navansatt/mainModule.kt
@@ -58,10 +58,10 @@ fun Application.mainModule(
58
install(CallLogging) {
59
level = Level.INFO
60
filter { call -> !call.request.path().matches(Regex(".*/isready|.*/isalive|.*/metrics")) }
61
- callIdMdc("X-Correlation-ID")
+ callIdMdc("correlationId")
62
}
63
install(CallId) {
64
- retrieveFromHeader("X-Correlation-ID")
+ retrieveFromHeader("correlationId")
65
generate { UUID.randomUUID().toString() }
66
67
install(Locations)
0 commit comments