Sling
  1. Sling
  2. SLING-1326

LogConfigManager: Access to internal configuration maps is not thread-safe

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Commons Log 2.0.6
    • Fix Version/s: Commons Log 2.1.0
    • Component/s: Commons
    • Labels:
      None

      Description

      The LogConfigManager class has a number of maps to internally manage configurations and writers and logger categories. Access to these maps is not thread-safe and might lead to endless loops if maps get corrupted.

      To fix issue, it would probably be easiest to replace the HashMap obejdcts by ConcurrentHashMap objects.

        Activity

          People

          • Assignee:
            Felix Meschberger
            Reporter:
            Felix Meschberger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development