Description
The JavaDoc of org.apache.logging.log4j.ThreadContext describes the behavior regarding inheritance as follows:
A child thread automatically inherits a copy of the mapped diagnostic context of its parent.
But the behavior was changed in LOG4J2-479. Now the system property isThreadContextMapInheritable has to be set to true to enforce this behavior (see documentation). This should be corrected in the JavaDoc of ThreadContext.