Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-316

BasicMDCAdapter leaks MDC information to non-child threads

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.7.13
    • 1.7.x
    • Core API
    • None
    • Operating System: Linux
      Platform: All

    Description

      BasicMDCAdapter uses a ConcurrentHashMap which is passed by reference from the parent to the child. All child threads then share the same map reference and any modifications by one child is visible to the parent thread and also all other child threads.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            lcwik@google.com Lukasz Cwik
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: