Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 89571 invoked from network); 17 Mar 2005 09:11:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Mar 2005 09:11:09 -0000 Received: (qmail 13229 invoked by uid 500); 17 Mar 2005 09:10:59 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 13197 invoked by uid 500); 17 Mar 2005 09:10:59 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 13182 invoked by uid 99); 17 Mar 2005 09:10:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mx2.scansoft.com (HELO mx2.scansoft.com) (198.71.64.82) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 17 Mar 2005 01:10:57 -0800 Received: from pb-exchcon.pb.scansoft.com ([10.1.4.73]) by mx2.scansoft.com with InterScan Messaging Security Suite; Thu, 17 Mar 2005 04:14:54 -0500 Received: by pb-exchcon.pb.scansoft.com with Internet Mail Service (5.5.2653.19) id ; Thu, 17 Mar 2005 04:10:53 -0500 Message-ID: From: "Allwicher, Klaus" To: user@ant.apache.org Subject: "Infinite Logging" when logging with log4j listener Date: Thu, 17 Mar 2005 04:09:56 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have problems configuring ANT to use the log4j listener. Everything works fine until, I invoke a self written java class with the task. This java class also uses log4j for logging purposes. After the successful execution of the java class, the next task fails with the message: xxx:84: Listener attempted to access System.out - infinite loop terminated I have tried to modify the log4j configuration, so that the java class logs all it's output in files. I also redirect the optional direct output of the class (which only occurs, if not logging configuration is found) in a property. Finally I also used two different property files for the Log4J configuration (one for ANT, one for the java program), where I differently configured the rootLogger. But nothing eliminates the error. Any ideas why this error occurs and how I can resolve it ? Regards Klaus Allwicher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org