You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dominik Süß (Jira)" <ji...@apache.org> on 2020/05/29 10:10:00 UTC
[jira] [Created] (SLING-9487) Default for
org.apache.sling.commons.log.file only set via metatype breaking the
logstatus webconsole.
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)