Adding MDC parameter as additional-field in quarkus json log #39139
Replies: 1 comment
-
I don't think there's a way to do it, but would be great if the following work: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using io.quarkus:quarkus-logging-json in my quarkus app. The document says that to add additional field in json, I should use below property,
quarkus.log.console.json.additional-field."field-name".value=
How to use MDC.get(paramName) as the value for this additional field ?
Beta Was this translation helpful? Give feedback.
All reactions