ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: log4j question...
Date Fri, 12 Mar 2004 15:37:15 GMT
The file:/// format is absolute:
so you need to do something like:
file:///home/preilly/work/log4j.properties

Peter
Ciramella, EJ wrote:

>Yeah, this doesn't seem to work either - 
>
>  
>
>>file:/// URL as a value for the -Dlog4j.configuration
>>    
>>
>
>I tried:
>$ ant -listener org.apache.tools.ant.listener.Log4jListener
>-Dlog4j.configuration=file:///../apache-ant-1.5.4/lib/log4j.properties
>
>No success, so then I moved the properties file locally:
>$ ant -listener org.apache.tools.ant.listener.Log4jListener
>-Dlog4j.configuration=file:///log4j.properties
>
>No success, I still get the following two errors:
>
>Buildfile: build.xml
>log4j:WARN No appenders could be found for logger (org.apache.tools.ant).
>log4j:WARN Please initialize the log4j system properly.
>
>
>Again, if the SAME property file is in a jar in the ANT_HOME/lib dir, things
>work fine.
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message