[ 
https://issues.apache.org/jira/browse/LOG4J2-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15421815#comment-15421815
 ] 

Remko Popma commented on LOG4J2-1516:
-------------------------------------

I guess I can add this method to the new data structures implementing 
ThreadContextMap. If all that's needed is a convenience method for a Junit test 
then can it be replaced later?

I am traveling with my family and won't be able to respond promptly (I can 
easily see 24 hour gaps) until the end of this week. 

> Add ThreadContextMap.putAll(Map<String, String>)
> ------------------------------------------------
>
>                 Key: LOG4J2-1516
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1516
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: API
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 2.7
>
>
> Add API {{ThreadContextMap.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-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to