Describe on how a logger can be customised in the Route-Chain (Java) / modify MDC #3378
Labels
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
help wanted
Identifies issues that the core team will likely not have time to work on
t:docs
Issues related to the documentation
I need to customise the logger that gets returned by
extractLog( log -> () )
so I can attach the current correlationId / userId / other fields into the MDC. However, I'm unable to accomplish this with the documentation I found. This is what I got so far:and I was planning to decorate my root-route as follows:
Please provide a way on how a valid "LoggingAdapter" can be constructed from Java.
The text was updated successfully, but these errors were encountered: