Mapped Diagnostic Context (MDC) - Improved Java Logging
Mapped Diagnostic Context provides a way to enrich log messages with information that could be unavailable in the scope where the logging actually occurs but that can be indeed useful to better track the execution of the program.
More detail, refer - https://www.baeldung.com/mdc-in-log4j-2-logback
Comments
Post a Comment