Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 77879 invoked from network); 15 Aug 2002 11:03:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Aug 2002 11:03:30 -0000 Received: (qmail 18658 invoked by uid 97); 15 Aug 2002 11:03:51 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 18639 invoked by uid 97); 15 Aug 2002 11:03:50 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 18625 invoked by uid 98); 15 Aug 2002 11:03:49 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Sent: 15 Aug 2002 11:03:22 GMT Message-ID: <3D5B8A79.2020609@ehatchersolutions.com> Date: Thu, 15 Aug 2002 07:03:21 -0400 From: Erik Hatcher User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: Log4J configuration References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Have a look at XDoclet's logging. It uses Log4j (maybe through Commons Logging?). Stephenson Tim wrote: > I'm pretty sure I've overlooked something simple but.... > > I have a bunch of classes that I use quite happily with Log4J logging outside ant, and today i thought i would make life easier by writing ant tasks for them. (I've done this in the past with no problems!) > > But now there is no Log4J output when running from the tasks. The problem has to be to do with the way the log4j.properties file is found as far as I can see. I have verified that the props file is in the classpath (in fact it is the first thing) > > I have also recently upgraded ant to v1.5 does this do some smart configuration? > > Any help gratefully received I'm going mad! > > tim > > Senior Analyst, > Technology One Corp. > > * Level 9, 111 George Street, Brisbane > * Ph (07) 3404 6971 > * Email: tim.stephenson@iie.qld.gov.au > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > -- To unsubscribe, e-mail: For additional commands, e-mail: