joelholder.com
Defining Log4j MDC Fields Declaratively With Spring
In this post, I’m going to show you how to extend the fields Log4j captures via MDC (Mapped Diagnostic Contexts). Specifically, we will add an additional field called “ApplicationId&#82…