You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2012/11/23 20:32:58 UTC
[jira] [Resolved] (LOG4J2-128) How do I set
ConsoleAppender.setFollow(true) ?
[ https://issues.apache.org/jira/browse/LOG4J2-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralph Goers resolved LOG4J2-128.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.0-beta4
Assignee: Ralph Goers
I added support for the follow atribute in revision 1413034. Please verify and close.
> How do I set ConsoleAppender.setFollow(true) ?
> ----------------------------------------------
>
> Key: LOG4J2-128
> URL: https://issues.apache.org/jira/browse/LOG4J2-128
> Project: Log4j 2
> Issue Type: Question
> Components: Appenders
> Affects Versions: 2.0-beta2
> Reporter: Armin Heinzer
> Assignee: Ralph Goers
> Fix For: 2.0-beta4
>
>
> I need to reassign System.out and System.err after Log4j2 is configured.
> Log4j 1.2 supports ConsoleAppender.setFollow(true).
> If set, the appender honors reassignments of System.out or System.err made after configuration.
> How do I set this within Log4j2 ?
> Now, Log4j2 is still logging to Console even if I reassigned System.out and System.err before.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org