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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Emptying catalina.out ?