logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Heinzer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-128) How do I set ConsoleAppender.setFollow(true) ?
Date Tue, 27 Nov 2012 20:11:57 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504907#comment-13504907
] 

Armin Heinzer commented on LOG4J2-128:
--------------------------------------

I have provided a simple test here: https://www.dropbox.com/sh/8gyul8wuzomp4vl/cdL69Oxv2z
I have this issue on Windows and Ubuntu Linux.
                
> 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-beta3
>            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


Mime
View raw message