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

ThreadContext to expose ReadOnlyThreadContextMap internal data structure

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: API
    • Labels:
      None

      Description

      Add public method ThreadContext::getThreadContextMap that returns a ReadOnlyThreadContextMap view of the internal data structure.

      This method will be used by the log4j-core ContextInjectors so the ThreadContextAccess class in the org.apache.logging.log4j package in log4j-core can be removed.

      Furthermore this method can be used as a building block by SPI implementators.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                remkop@yahoo.com Remko Popma
                Reporter:
                remkop@yahoo.com Remko Popma
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: