[
https://issues.apache.org/jira/browse/LOG4J2-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15952785#comment-15952785
]
ASF subversion and git services commented on LOG4J2-1861:
---------------------------------------------------------
Commit 000de2cde6a745c945e7575313ac6fbe841a4b49 in logging-log4j2's branch
refs/heads/master from [~jvz]
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=000de2c ]
[LOG4J2-1861] Fix ThreadContext javadoc about inheritance
> Fix JavaDoc on org.apache.logging.log4j.ThreadContext (about inheritance)
> -------------------------------------------------------------------------
>
> Key: LOG4J2-1861
> URL: https://issues.apache.org/jira/browse/LOG4J2-1861
> Project: Log4j 2
> Issue Type: Documentation
> Components: API
> Affects Versions: 2.8.1
> Reporter: Franz van Betteraey
> Assignee: Matt Sicker
> Priority: Trivial
> Labels: easyfix, javadoc
> Fix For: 2.8.2
>
>
> The
> [JavaDoc|https://logging.apache.org/log4j/2.x/log4j-api/apidocs/org/apache/logging/log4j/ThreadContext.html]
> of org.apache.logging.log4j.ThreadContext describes the behavior regarding
> inheritance as follows:
> {quote}
> A child thread automatically inherits a copy of the mapped diagnostic context
> of its parent.
> {quote}
> 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|https://logging.apache.org/log4j/2.x/manual/thread-context.html]).
> This should be corrected in the JavaDoc of ThreadContext.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]