Is your Log4j configured to use a ConsoleAppender?
That might possibly explain it.

http://jakarta.apache.org/commons/httpclient/logging.html

David Stevenson

On Fri, 2004-12-03 at 08:22, Roberto Cosenza wrote:
> I did mean swallowOutput=true....
> My typo.
> Problem still there, strange... (I'm using commons-logging + log4j to log)
> Ben Souther wrote:
> 
> >On Fri, 2004-12-03 at 04:28, Roberto Cosenza wrote:
> >  
> >
> >>For some reason I still have a lot of messages getting to catalina.out 
> >>even If I have swallowoutput=3 and my logger gets a copy of the message.
> >>What can the problem be?
> >>I use tomcat 5.0.28
> >>    
> >>
> >
> >
> >You might want to take a look at the configruation documentation:
> >http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
> >
> >"swallowOutput" (which is case sensitive) is not looking for an int.
> >It's looking for true/false.
> >
> >Here a working example:
> >
> ><Context path="/myapp"  
> >         docBase="myapp" 
> >         debug="0" 
> >         crossContext="false"  
> >         reloadable="false" 
> >         privileged="false" 
> >         swallowOutput="true">
> >  <Logger directory="f:\\tomcat\\logs"
> >      className="org.apache.catalina.logger.FileLogger"                 
> >      prefix="myapp_log." 
> >      suffix=".txt"
> >      timestamp="true"/>
> ></Context>
> >
> >
> >
> >
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >  
> >
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to