David Evans wrote:
Wendy,

I set the swallowOutput to true on one of my contexts, and now most of
my logging is going to the automatically rotated context log files. the
only thing showing up in my catalina.out is the startup and shutdown
messages. So if you do this it may eliminate your need to deal with
catalina.out.

info is here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html
search for swallowOutput.

And Yoav, thank you, very much.

dave

the snip of my server.xml:
<Host name="100.0.0.1">
   <alias>www.domain.com</alias>
   <Context path="" docBase="/web/sites/donkey" reloadable="true"
swallowOutput="true" />
   <Logger className="org.apache.catalina.logger.FileLogger"
        directory="logs"  prefix="donkey_log." suffix=".txt"
        timestamp="true"/>
</Host>

You can also use (in 5.0.x) <DefaultContext swallowOutput="true" />, although of course you won't have one log per context.


http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/defaultcontext.html

--
xxxxxxxxxxxxxxxxxxxxxxxxx
R�my Maucherat
Developer & Consultant
JBoss Group (Europe) S�RL
xxxxxxxxxxxxxxxxxxxxxxxxx

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



Reply via email to