You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ian Boston (JIRA)" <ji...@apache.org> on 2012/10/26 03:31:12 UTC

[jira] [Assigned] (SLING-2149) NPE in SlingLoggerConfig if log file can't be created

     [ https://issues.apache.org/jira/browse/SLING-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston reassigned SLING-2149:
---------------------------------

    Assignee: Ian Boston
    
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira