Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-135

Thread-safety improvements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.2
    • None

    Description

      The LogKitLogger.logger field is not final or volatile so changes are not guaranteed to be published.
      This includes calls to getLogger(), so two different threads using the same instance can theoretically both create the logger.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: