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] [Comment Edited] (LOG4J2-128) How do I set ConsoleAppender.setFollow(true) ?
Date Mon, 26 Nov 2012 20:12:58 GMT

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

Armin Heinzer edited comment on LOG4J2-128 at 11/26/12 8:12 PM:
----------------------------------------------------------------

Thanks a lot. I will test it as soon the beta4 jar's are downloadable.
(I tried to build it by myself from source with "mvn install", but it stopped in the core
module by a failed test)
                
      was (Author: armin.heinzer):
    Thanks a lot. I will test it as soon the beta4 jar's are downloadable.
(I tried to build it by myself from source, but I got a lot of compiler errors...  but I am
not sure how to do this the correct way...)
                  
> 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