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

Thread-safety improvements

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment