jQuery in Action, 2nd edition*
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

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?

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.

It is sorta covered in the JavaRanch Style Guide.
subject: Emptying catalina.out ?