You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Robert Ross (JIRA)" <ji...@apache.org> on 2018/10/23 15:47:00 UTC

[jira] [Reopened] (LOG4J2-2484) Allow setting of output stream on StatusLogger

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

Robert Ross reopened LOG4J2-2484:
---------------------------------

With all due respect, this doesn't resolve the issue.  What configuration element?  StatusLogger puts out output prior to the configuration even being read.  This is precisely the threaded discussion.

> Allow setting of output stream on StatusLogger
> ----------------------------------------------
>
>                 Key: LOG4J2-2484
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2484
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Robert Ross
>            Priority: Minor
>              Labels: StatusLogger, debugging
>
> The StatusLogger internally uses a SimpleLogger.  SimpleLogger offers the ability to control the output stream, but StatusLogger encapsulates and hides this capability, always using System.err as the output stream.
> It would be useful to expose this option so that the API offers some control over the output stream used by StatusLogger.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)