jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: RE: need help to turn on logging information
Date Thu, 27 May 2004 15:31:06 GMT


> -----Original Message-----
> From: sachin shah [mailto:sachinsh@usc.edu]
> Sent: 25 May 2004 17:47
> To: Cactus Users List
> Subject: Re: RE: need help to turn on logging information
> 
> Hi,
> I am using the browser module (Cactus Servlet Test Runner).
> Sachin

hmmm... What version of Cactus are you using? In version < 1.6 the
Servlet Test Runner was *NOT* reading the cactus.properties file.

Also, where do you put your cactus.properties file?

Thanks
-Vincent

> 
> ----- Original Message -----
> From: Vincent Massol <vmassol@pivolis.com>
> Date: Tuesday, May 25, 2004 0:33 am
> Subject: RE: need help to turn on logging information
> 
> > Hi Sachin,
> >
> > Question: what integration module do you use to run your Cactus
tests?
> > Ant? Maven? Other?
> >
> > Thanks
> > -Vincent
> >
> > > -----Original Message-----
> > > From: sachin shah [sachinsh@usc.edu]
> > > Sent: 25 May 2004 03:02
> > > To: cactus-user@jakarta.apache.org
> > > Subject: need help to turn on logging information
> > >
> > > Hi,
> > > I am a new comer to Cactus and have been trying to attempt to turn
on
> > the
> > > logging information.
> > > I have created a cactus.properties file containing the following:
> > >
> > > cactus.logging.config = ~tomcat-root/logging_server.properties
> > >
> > > In the logging_server.properties file, I have the following:
> > >
> > > # Disable logging
> > > #org.apache.commons.logging.Log =
> > org.apache.commons.logging.impl.NoOpLog
> > > # Force to use JDK 1.4 logging
> > > org.apache.commons.logging.Log =
> > > org.apache.commons.logging.impl.Jdk14Logger
> > >
> > > java.util.logging.config.file = logging_server.properties
> > > handlers = java.util.logging.FileHandler
> > > java.util.logging.FileHandler.pattern = %h/java%u.log
> > > java.util.logging.FileHandler.formatter =
> > > java.util.logging.SimpleFormatter
> > > org.apache.cactus.*.level = FINEST
> > >
> > > For some reason it does not seem to pick it up. any help is
> > appreciated.
> > > Sachin
> > >
> > >
> > >
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
cactus-user-help@jakarta.apache.org
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message