java-tutorials/logging-modules/log-mdc/README.md

18 lines
573 B
Markdown

### Relevant Articles:
- [Improved Java Logging with Mapped Diagnostic Context (MDC)](https://www.baeldung.com/mdc-in-log4j-2-logback)
- [Java Logging with Nested Diagnostic Context (NDC)](https://www.baeldung.com/java-logging-ndc-log4j)
### References
_Log4j MDC_
* <https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/MDC.html>
* <http://veerasundar.com/blog/2009/10/log4j-mdc-mapped-diagnostic-context-what-and-why/>
_Log4j2 MDC_
* <https://logging.apache.org/log4j/2.x/manual/thread-context.html>
_Logback MDC_
* <http://logback.qos.ch/manual/mdc.html>