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

putAll() method for CloseableThreadContext

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6, 2.7
    • Fix Version/s: 2.8
    • Component/s: API
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikaelstaldal Mikael Ståldal
                Reporter:
                gdt Greg Thomas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: