My tomcat (running in linux/ubuntu) crashes sometimes with a thread dump appended to catalina.out. How do I get this thread dump into a separate log file?
The thread dump is quite large due to the large number of threads running and therefore fills catalina.out making it hard to debug.