[
https://issues.apache.org/jira/browse/SLING-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu closed SLING-2149.
----------------------------------
> NPE in SlingLoggerConfig if log file can't be created
> -----------------------------------------------------
>
> Key: SLING-2149
> URL: https://issues.apache.org/jira/browse/SLING-2149
> Project: Sling
> Issue Type: Bug
> Components: Commons
> Affects Versions: Commons Log 2.1.0
> Reporter: Carsten Ziegeler
> Assignee: Ian Boston
> Fix For: Commons Log 3.0.2
>
>
> If e.g. the default log writer file can't be created (e.g. the user has no
> permissions), then the writer with a null file handle is used nevertheless
> which then causes the Sling logger to end in NPEs when trying to write to the
> log.
> If the file can't be created maybe stderr/stdout should be used
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)