Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 39999 invoked from network); 7 Dec 2001 14:00:43 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Dec 2001 14:00:43 -0000 Received: (qmail 6907 invoked by uid 97); 7 Dec 2001 14:00:34 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 6891 invoked by uid 97); 7 Dec 2001 14:00:34 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 6864 invoked from network); 7 Dec 2001 14:00:33 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@bost.de using -f To: ant-user@jakarta.apache.org Subject: Re: Antwort: Re: How to use BuildLogger? References: From: Stefan Bodewig Date: 07 Dec 2001 14:53:38 +0100 Message-ID: Lines: 17 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 7 Dec 2001, Anton Grimm wrote: > actually I want to log on stdout and additionally see the same > output in a log-file. A tee(1) BuildLogger would be handy, yes. Unfortunately there is nothing like this ATM. Only the main logger is allowed to print to the screen and you cannot pass a filename to DefaultLogger when you use it as a BuildListener. You could use XmlLogger as a listener - but this is going to give you XML output (it will print to log.xml or the file whose name is given by the property XmlLogger.file). The only other option I see is a custom logger/listener. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: