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

putAll() method for CloseableThreadContext

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6, 2.7
    • 2.8
    • API
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: