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]

Reply via email to