What is the difference between Log4j’s NDC and MDC facilities?
To expand on the link which Sikorski put in the comments: NDC In NDC, the N stands for nested, meaning you control a single value with a Stack. You “push” a string, then you can “push” another whenever processing dictates; and when processing is complete you can pop it off to see the former value. … Read more