[logback-user] ch.qos.logback.classic.spi.LoggingEvent.getMDCPropertyMap "lazy" evaluation
Peter Kotula
peto.kotula at yahoo.com
Sun Dec 11 11:43:41 CET 2022
Hello everybody,
i like to ask, if there is reason why
logback/LoggingEvent.java at master · qos-ch/logback
|
|
|
| | |
|
|
|
| |
logback/LoggingEvent.java at master · qos-ch/logback
The reliable, generic, fast and flexible logging framework for Java. - logback/LoggingEvent.java at master · qos...
|
|
|
is evaluated during call, and not "materialised" during log event creation
I seen situations when before LoggingEvent was processed, MDC context was reset, and after that MDC data was not present in related log message
thank you very much for answer
Best regards
Peter Kotula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20221211/2272cd73/attachment.html>
More information about the logback-user
mailing list