You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this change is correct, it'd be great to have this brought upstream.
I'm happy to create a merge request, if needed. Even if it is just these two lines.
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to log an application-specific context parameter using the MDC API.
However, when I try to log an MDC entry using the PatternFormatter, like so:
I get output like this:
I would expect the output to contain the actual requestId from the MDC, not the placeholder.
Digging a bit into the source code, it seems the parser for the PatternFormatter does not parse an option in the pattern for the MDCPatternConverter.
I managed to get it to produce the expected output with just the following change in patterformatter.cpp:
If this change is correct, it'd be great to have this brought upstream.
I'm happy to create a merge request, if needed. Even if it is just these two lines.
The text was updated successfully, but these errors were encountered: