One way is to run Tomcat as a Windows service. This way, all log output messages go to catalina.out.
On Thu, 13 Oct 2005 22:08:23 0200 users@tomcat.apache.org wrote: > you can find tomcat logs in $CATALINA_HOME/logs/catalina.out > > Mauricio Fernández A. > Ingeniero de Sistemas > U. Autónoma de Manizales > > -----Mensaje original----- > De: Philip Chang [mailto:[EMAIL PROTECTED] > Enviado el: jueves, 13 octubre, 2005 21:10 > Para: users@tomcat.apache.org > Asunto: How to re-direct Tomcat output from console to file? > > > Hello, > > I am running Tomcat 5.0.27 on Windows 2000 Pro. > > When I start Tomcat via > > C:\Tomcat 5.0\bin\startup.bat > > Tomcat would dump out many trace messages to the Windows Command Prompt, > such as: > > usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ > -debug > ] [ -nonaming ] { start | stop } > Oct 13, 2005 3:05:19 PM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > Oct 13, 2005 3:05:19 PM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-8443 > > How can I redirect these trace messages to dump to a file instead? > > Thanks for all pointers! > Philip > > > > --------------------------------------------------------------------- > 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] > -- Lyndon Tiu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]