Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.