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

Ralph Goers resolved LOG4J2-2484.
---------------------------------
    Resolution: Not A Problem

Sorry for not joining in earlier. I could have saved all of this back and forth.

What you are requesting has been implemented for years.  Specify dest="out" on 
your configuration element at the out put will go to STDOUT. Specify 
dest"file:///var/log/log4j.log" or dest="/var/log/log4j.log" and you can route 
it to a file. See 
http://logging.apache.org/log4j/2.x/manual/configuration.html#ConfigurationSyntax

> 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)

Reply via email to