[ https://issues.apache.org/jira/browse/LOG4J2-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15657480#comment-15657480 ]
ASF GitHub Bot commented on LOG4J2-1692: ---------------------------------------- GitHub user GregDThomas opened a pull request: https://github.com/apache/logging-log4j2/pull/48 LOG4J2-1692: Add putAll() / pushAll() methods to CloseableThreadContext This provides a patch to implement CloseableThreadContext.putAll() and CloseableThreadContext.pushAll() You can merge this pull request into a Git repository by running: $ git pull https://github.com/GregDThomas/logging-log4j2 ctc-putall Alternatively you can review and apply these changes as the patch at: https://github.com/apache/logging-log4j2/pull/48.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #48 ---- commit 3ba3628fa6a94db512ceef10ecf2188ee740e857 Author: Greg Thomas <greg.d.tho...@gmail.com> Date: 2016-11-11T16:39:51Z LOG4J2-1692: Add putAll() / pushAll() methods to CloseableThreadContext ---- > putAll() method for CloseableThreadContext > ------------------------------------------ > > Key: LOG4J2-1692 > URL: https://issues.apache.org/jira/browse/LOG4J2-1692 > Project: Log4j 2 > Issue Type: Improvement > Components: API > Affects Versions: 2.6 > Reporter: Greg Thomas > Priority: Minor > > The ThreadContext supports a putAll(final Map<String, String> m) method. > It would be useful, particularly when using thread pools, to have a similar > method for the CloseableThreadContext. > Similarly, a pushAll() method would be useful. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org