tag:blogger.com,1999:blog-37642571.post1690382820938512879..comments2024-03-20T02:30:44.457-07:00Comments on Thinking In Software: Tomcat catalina.out rotation and truncationNestor Urquizahttp://www.blogger.com/profile/12351754666722274569noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-37642571.post-62077162644644259062018-03-28T08:14:30.234-07:002018-03-28T08:14:30.234-07:00instead of cp /dev/null "$CATALINA_OUT" ...instead of cp /dev/null "$CATALINA_OUT" you can use echo "" > "$CATALINA_OUT", it will free the disk space even when the catalina.out is opened for writingAndrejhttps://www.blogger.com/profile/13770625208527797451noreply@blogger.com