Hi Marc,
I hope I am not the only one who struggles with this...
- I checked my CLASSPATH in my dosbox and cleared it.
- I added an echo-statement to my classpath.xml to verify that
<pathelement location="${wt-WebTest.dir}/lib"/>
really uses the right path.
everything seems to be fine! But I get no additional output.
- where do I have to expect the output? I though it would be dumped to
the console. But even if it gets written to a file, I can't find it...
Ralf
Marc Guillemot wrote:
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