Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1326

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Commons Log 2.0.6
    • Commons Log 2.1.0
    • Commons
    • 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.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: