tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lyndon Tiu <l...@alumni.sfu.ca>
Subject Re: How to re-direct Tomcat output from console to file?
Date Thu, 13 Oct 2005 20:42:20 GMT
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:philipchang@hotmail.com]
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


--
Lyndon Tiu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message