Search This Blog

Thursday, January 17, 2013

Mapped Diagnostic Context (MDC) in Logback

Mapped Diagnostic Context (MDC) is a feature in LogBack that allows you to store some information in a context and have them shown in the log file. It's especially useful if you need some high-level information (e.g. request address) shown in every log item.

No comments:

Post a Comment