Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes Emptying catalina.out ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Emptying catalina.out ?" Watch "Emptying catalina.out ?" New topic
Author

Emptying catalina.out ?

James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
My catalina.out file has grown to an enormous size. What is the best way to empty it?... If I delete and replace it with an empty catalina.out file, will I need to restart Tomcat?

Thanks,
James
Radhika Reddy
Ranch Hand

Joined: Oct 31, 2002
Posts: 30
Inorder to delete it or rename and save it.. first you have to stop server. Then u can delete it or rename it and save(if you want to go through that logs again). When you restart server you will have new catalina.out.


Radhika
 
wood burning stoves
 
subject: Emptying catalina.out ?
 
Similar Threads
Tomcat 5.5 logging internal process in tomcat_out.log
where we view Log file stored using servletcontext
Null exception when integrating struts and jsf
Write Tomcat 5.5 output to one of Tomcat’s log files
error running servlets using tomcat