File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
error running servlets using tomcat
where we view Log file stored using servletcontext
Write Tomcat 5.5 output to one of Tomcat’s log files
Null exception when integrating struts and jsf
Tomcat 5.5 logging internal process in tomcat_out.log