[Webtest] Log4j Appender not found

Qin Ding webtest@lists.canoo.com
Thu, 30 Oct 2003 10:26:44 -0500


Thank you Marc.

Now, Marc, would you please show me how to generate a test report to show
the expected and actual results in html format or pdf format? Does the
distribution also have samples of the reports?

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.
----------------------------------------------------------------------------------------




                                                                                                           
                      Marc Guillemot                                                                       
                      <mguillemot              To:      webtest@gate.canoo.com                             
                      @yahoo.fr>               cc:                                                         
                      Sent by:                 Subject: Re: [Webtest] Log4j Appender not found             
                      webtest-admin                                                                        
                                                                                                           
                                                                                                           
                      10/30/03 01:06                                                                       
                      AM                                                                                   
                      Please respond                                                                       
                      to 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
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>


_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest