[Webtest] Log4j Appender not found

Marc Guillemot webtest@lists.canoo.com
Thu, 30 Oct 2003 08:06:00 +0100


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
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>