Hi,
I am using Tomcat 5.0.27. I want to configure my server.xml such that: 1. all system.outs from my webapp 2. all error and exceptions due to my webapp get written to logs/mywebapp.log under CATALINA_HOME
This is the except from my server.xml file that I have written:
...
...
<Engine name="Catalina" defaultHost="localhost">
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="mywebapp." suffix=".log"
timestamp="true"/>
<Logger className="org.apache.catalina.logger.SystemErrLogger"/>
<Logger className="org.apache.catalina.logger.SystemOutLogger"/>
<Context path="/mywebapp" docBase="mywebapp" debug="0"
reloadable="true" crossContext="true"/>
</Host>
</Engine>
...
...
On running tomcat, I still get all my system.outs and error messages in catalina.out. How do I
configure my server.xml to get these messages in mywebapp.log ?
Thanks.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]