Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD06AE4BE for ; Mon, 26 Nov 2012 14:27:00 +0000 (UTC) Received: (qmail 50318 invoked by uid 500); 26 Nov 2012 14:27:00 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 50105 invoked by uid 500); 26 Nov 2012 14:26:59 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 50060 invoked by uid 99); 26 Nov 2012 14:26:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 14:26:58 +0000 Date: Mon, 26 Nov 2012 14:26:57 +0000 (UTC) From: "Armin Heinzer (JIRA)" To: log4j-dev@logging.apache.org Message-ID: <1636367239.22827.1353940018105.JavaMail.jiratomcat@arcas> In-Reply-To: <917620054.16945.1353593218129.JavaMail.jiratomcat@arcas> Subject: [jira] [Comment Edited] (LOG4J2-128) How do I set ConsoleAppender.setFollow(true) ? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 2:25 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, but I got a lot of compiler errors... but I am not sure how to do this the correct way...) was (Author: armin.heinzer): Thanks a lot. I will test it as soon the beta4 jar's are downloadable. (I tried ot 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-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