Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1519

Add ThreadContext.putAll(Map<String, String>)

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: API
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                garydgregory Gary Gregory
                Reporter:
                garydgregory Gary Gregory
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: