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

Default for org.apache.sling.commons.log.file only set via metatype breaking the logstatus webconsole.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Commons Log 5.1.12
    • Commons
    • None

    Description

      As the default for org.apache.sling.commons.log.file for PID org.apache.sling.commons.log.LogManager.factory.config is only set for the metatype the default only applies on setting the configuration via UI.
      The webconsole UI is dependent on this path to be configured to group the loggers accordin to those writers and spawns a nullpointerexception if a config is getting registered (e.g. via sling installer or feature model) that doesn't set this parameter.

      The proposed solution to this bug is to make sure that configuration being registered without this path pick up the same default value defined as in the metatype.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            dsuess Dominik Süß
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 50m
                2h 50m