Description
From the LogEvent interface:
/** * Gets the context stack (also known as Nested Diagnostic Context or NDC). * * @return The context stack, never {@code null}. */ ThreadContext.ContextStack getContextStack();
This method does return null if nothing is added to the context stack.
A MutableLogEvent is used, I suspect that it is not initialized correctly, remkop@yahoo.com?
Attachments
Issue Links
- is duplicated by
-
LOG4J2-1572 Empty NDC stack logs null
- Closed