3 messages in com.canoo.lists.webtestRe: [Webtest] Log4j Appender not found| From | Sent On | Attachments |
|---|---|---|
| Qin Ding | 29 Oct 2003 14:58 | |
| Marc Guillemot | 29 Oct 2003 23:05 | |
| Qin Ding | 30 Oct 2003 07:26 |
| Subject: | Re: [Webtest] Log4j Appender not found![]() |
|---|---|
| From: | Marc Guillemot (mgui...@yahoo.fr) |
| Date: | 10/29/2003 11:05:38 PM |
| List: | com.canoo.lists.webtest |
Hi Qin,
log4j looks in the classpath for a file log4j.properties or log4j.xml to configure itself. You can for instance use the one provided with the distribution by adding one pathelement:
<taskdef file="${webtest.home}/webtestTaskdefs.properties"> <classpath> <fileset dir="${webtest.home}" includes="**/lib/*.jar"/> <pathelement path="${webtest.home}/lib"/> </classpath> </taskdef>
Marc.
Qin Ding wrote:
I am new to Webtest. After I downloaded it, I ran some samples. I got this warning:
main: [testSpec] log4j:WARN No appenders could be found for logger (com.meterware.htt punit.HttpWebResponse). [testSpec] log4j:WARN Please initialize the log4j system properly.
BUILD SUCCESSFUL Total time: 5 seconds
How do I initialize the log4j and provide file and console appenders? Please advise. thank you.
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest




