Tag Archives: Mapped Diagnostic Context

Logging additional information like SessionID in every Log4j message

In his blog posts Log4j MDC (Mapped Diagnostic Context) : What and Why and Log4j MDC (Mapped Diagnostic Context) : Example code, Veera Sundar explains the concept of the Mapped Diagnostic Context (MDC), a thread-local key-value store that can be … Continue reading

Posted in Java Basics | Tagged , , , , | Leave a comment