Hi Ralf,

this log4j file is considered if it is in your classpath and if it is
the first log4j configuration file in your classpath. Check that
- you have something like
  <pathelement location="${wt-WebTest.dir}/lib"/>
in your <path> used to load WebTest tasks
- you don't have any system wide CLASSPATH set that already contains
log4j configuration

Marc.


Ralf Müller wrote:
> Marc Guillemot wrote:
>> ANT_OPTS="-DlogLevel.httpclientWire=debug"
>>
>> or see #WEBTEST_HOME#/lib/log4j.properties for more details
> 
> Thanx for your quick reply. But it still doesn't help:
> 
> It seems to me that my #WEBTEST_HOME#/lib/log4j.properties is ignored or
> I don't know where the output gets written to.
> So I did a test and installed a fresh webtest, invoked the example
> webtest -buildfile installTest.xml
> and tried to change the log4j.properties.
> I set the logLevel.root to things like "debug" and commented in all
> other options.
> Nothing happens.
> 
> So my new question:
> Is there a way to check which log4j.properties are used or to force the
> system to use a specific properties file?
> 
> Cheers,
> Ralf
> 
>>
>> Marc.
>>
>> Ralf Müller wrote:
>>> Hi!
>>>
>>> Is there some kind of option which activates something like the firefox
>>> plugin called live http headers which just writes all headers into a
>>> logfile?
>>> Or can I maybe create this functionality with a small groovy script and
>>> an ant macro? something like
>>>
>>> <writeHeaders[of last request/response] />
>>>
>>> Best Regards,
>>> Ralf
>>>
>>> _______________________________________________
>>> WebTest mailing list
>>> [email protected]
>>> http://lists.canoo.com/mailman/listinfo/webtest
>>>
> 
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to