[
https://issues.apache.org/jira/browse/LOG4J2-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16659890#comment-16659890
]
Remko Popma commented on LOG4J2-2484:
-------------------------------------
{quote}
Can you point me to where it is documented as a convention that diagnostic
messages should go to STDERR?\{quote}
It is a POSIX convention:
[http://pubs.opengroup.org/onlinepubs/9699919799/functions/stdin.html]
That said, I’m not dead set against this, but I do think it needs
justification in the form of a valid use case.
> 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)