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

[logging] LogFactory is not thread-safe

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      38026

      Description

      Hi,

      the LogFactory class is not thread-safe. All access to the factories variable
      should be in synchronized code. This is sometimes the case (like in the
      LogFactory.releasXXX() methods), but in the LogFactory.getFactory() method,
      this variable is accessed in a non-synchronized way.

      regards,
      Maarten

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maartenc Maarten Coene
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: