Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-529

Global logging reconfiguration results in configuration error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3
    • Commons
    • None

    Description

      After the implementation of SLING-525, the global logging configuration does not work any more. Instead a ConfigurationException is thrown and logged:

      13.06.2008 07:44:22.647 ERROR [Configuration Updater] org.apache.felix.configadmin Updating configuration property org.apache.sling.commons.log.names caused a problem: Missing categories in configuration org.apache.sling.commons.log.LogManager (org.osgi.service.cm.ConfigurationException: org.apache.sling.commons.log.names : Missing categories in configuration org.apache.sling.commons.log.LogManager) org.osgi.service.cm.ConfigurationException: org.apache.sling.commons.log.names : Missing categories in configuration org.apache.sling.commons.log.LogManager
      at org.apache.sling.commons.log.slf4j.LogConfigManager.updateLoggerConfiguration(LogConfigManager.java:388)
      at org.apache.sling.commons.log.LogManager$GlobalConfigurator.updated(LogManager.java:180)
      at org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1125)
      at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:90)

      The problem seems to be that there is no acceptable entry for the logger names in the global configuration, whereas this setting should be "" indicating the "ROOT" logger meaning apply to all loggers as a default.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: