jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: Turning off logging
Date Thu, 20 Feb 2003 18:44:21 GMT


> -----Original Message-----
> From: Raible, Matt [mailto:Matt_Raible@cable.comcast.com]
> Sent: 19 February 2003 22:59
> To: 'cactus-user@jakarta.apache.org'
> Subject: Turning off logging
> 
> I'm trying to turn off cactus' logging by adding the following two
lines
> to
> my log4j.properties file:
> 
> log4j.category.org.apache.cactus=WARN

This may not be correct. Don't you need to specify the appender too?

> log4j.additivity.org.apache.cactus=false
> 
> My "test-cactus" task is as follows:
> 
>     <target name="test-cactus" depends="deploy" if="tomcat.home"
>         description="Runs Cactus tests in Tomcat, starts/stops
server">
>         <echo>running tests at
> http://${tomcat.server}:${tomcat.port}/${webapp.name}</echo>
>         <runservertests
> 
> testURL="http://${tomcat.server}:${tomcat.port}/${webapp.name}"
>             startTarget="start.tomcat"
>             stopTarget="stop.tomcat"
>             testTarget="test-web">
>         </runservertests>
>     </target>
> 
> This calls the "test-web" target and uses a specific testcase if
> specified.
> This target sets the classpath to log4.properties,
log_client.properties
> and
> log_server.properties - but editing them doesn't seem to have any
effect.

Mime
View raw message