Dominik Süß created SLING-9487:
----------------------------------
Summary: Default for org.apache.sling.commons.log.file only set
via metatype breaking the logstatus webconsole.
Key: SLING-9487
URL: https://issues.apache.org/jira/browse/SLING-9487
Project: Sling
Issue Type: Bug
Components: Commons
Reporter: Dominik Süß
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)