Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 92215 invoked from network); 21 Feb 2003 10:49:12 -0000 Received: from bruecke.ivs.cs.tu-berlin.de (130.149.23.56) by daedalus.apache.org with SMTP; 21 Feb 2003 10:49:12 -0000 Received: from localhost (localhost [127.0.0.1]) by bruecke.ivs.cs.tu-berlin.de (Postfix) with ESMTP id A40AB90790 for ; Fri, 21 Feb 2003 11:39:14 +0100 (CET) Received: from phlox (ivs3.ivs.cs.tu-berlin.de [130.149.25.143]) by bruecke.ivs.cs.tu-berlin.de (Postfix) with ESMTP id AA6589078F for ; Fri, 21 Feb 2003 11:39:13 +0100 (CET) From: "Stefan Schulz" To: "Ant Users List" Subject: Access to log level information in custom tasks Date: Fri, 21 Feb 2003 11:49:26 +0100 Message-ID: <001901c2d996$e7407c40$8f199582@phlox> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, is it possible to access information on which log level is set? I could not find it in the documentation or the API. Scenario: I have a custom task wrapping a java-application. I have no source code access to this application. Hence, I would like to set the output stream according to the log level (to null, to log, to stdout). Any help welcome. Best regards Stefan Schulz --- http://ivs.tu-berlin.de