Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1429

Add property to skip LogManager check at startup

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • 3.0.0.Alpha6
    • None
    • Logging
    • None

      At startup, Wildfly checks that the default log manager (as returned by java.util.logging.LogManager.getLogManager() ) is org.jboss.logmanager.LogManager:
      https://github.com/wildfly/wildfly-core/blob/master/logging/src/main/java/org/jboss/as/logging/LoggingExtension.java#L146

      This breaks some cases where the LogManager is wrapped because of the needs of that particular JVM like in OSv ( https://github.com/cloudius-systems/osv/blob/master/java/runjava/src/main/java/io/osv/jul/LogManagerWrapper.java ).

      As suggested on the mailing list, I would like to propose adding a property to bypass that check. Something along the lines of "jboss.logging.logManagerCheck = false/true"

              jperkins-rhn James Perkins
              dominique.broeglin Dominique Broeglin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: