Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-350

TCCL is used to locate configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.6.Final, 3.1.0.Final
    • None
    • None
    • None

      At present, both LogManager#doConfigure and org.jboss.logmanager.configuration.PropertyLogContextConfigurator#configure improperly use ServiceLoader#load(Class), which uses the TCCL. Since the log manager can be initialized from any thread, and possibly quite early, this causes indeterminate results such as duplicated logging and other problems.

      See also:

              dlloyd@redhat.com David Lloyd
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: