That did it! Thanks Paul.

-----Original Message-----
From: Paul Smith [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 06, 2005 8:36 PM
To: Log4J Users List
Subject: Re: Ant, JUnit, and Log4j

The 'log4j.configuration' property must be a _complete_ URL, so you 
should work out what the "file://...." equivalent setting is, and then 
it will work.  C:\\.. doesn't work..

Paul

Robert Taylor wrote:

>Ceki, thanks for replying.
>
>Unfortunately I don't know which version of Log4j I'm currently using.
>JDK 1.4.2_05.
>The log4j file is located here:
>C:\cvsroot\company\lib\apache\log4j\log4j.xml
>
>As mentioned earlier, I attempt to include that location in my classpath using 
><sysproperty key="log4j.configuration" value="${log4j.xml}"/> where 
>${log4j.xml} is defined as C:\cvsroot\company\lib\apache\log4j\log4j.xml.
>
>/robert
>
>-----Original Message-----
>From: Ceki G�lc� [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, April 06, 2005 11:36 AM
>To: Log4J Users List; Log4J Users List
>Subject: Re: Ant, JUnit, and Log4j
>
>At 05:26 PM 4/6/2005, Jacob Kjome wrote:
>
>  
>
>>Look in Bugzilla.  There was some recent activity on this sort of 
>>issue.  I had
>>to do with Log4j, JUnit, and the ConsoleAppender not working with some code to
>>correct it.  I haven't looked at the code's validity, but maybe this is the
>>same issue?
>>    
>>
>
>Almost certainly not.
>
>I suspect that the problem is due to the log4j.xml file not being placed 
>correctly.
>Robert, where are you placing the log4j.xml file? Is it in
>
>   ${build.dir}/library/classes
>
>or
>
>   ${src.home}/core/main/com/company/core/testing
>
>?
>
>Which version of log4j are you using? JVM? Where is the log4j.jar file located?
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to