You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/08/15 19:58:20 UTC
[jira] [Closed] (LOG4J2-1519) Add ThreadContext.putAll(Map)
[ https://issues.apache.org/jira/browse/LOG4J2-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory closed LOG4J2-1519.
--------------------------------
Resolution: Fixed
This surfaces the new {{ThreadContextMap.putAll(Map<String, String>}} API with the same name to {{ThreadContext}}.
In Git master.
> Add ThreadContext.putAll(Map<String, String>)
> ---------------------------------------------
>
> Key: LOG4J2-1519
> URL: https://issues.apache.org/jira/browse/LOG4J2-1519
> Project: Log4j 2
> Issue Type: New Feature
> Components: API
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Fix For: 2.7
>
>
> Add API {{ThreadContext.putAll(Map<String, String>)}}.
> My immediate goal is to be able to build a JUnit Rule to save and restore the thread context around each unit test method and/or a given class.
> See [LOG4J2-1517].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org