I've been working on an application and accidentally created an infinite loop. Great lots of output went to the tomcat server log file and each time I start tomcat from NetBeans, the IDE is loading all those logs into the GUI. It makes my computer suffocate without operating memory. Unfortunately, the IDE doesn't provide any "clear logs" button.
I've been trying to locate tomcat log files, but I failed. My tomcat is installed in ~/apache-tomcat-7.0.27
and the latest log file under logs
subdir is catalina.2013-01-12.log
. And today is 2013-02-16. And I found no tomcat under /var/log
;)
I've tried restarting NetBeans, but it doesn't change anything. Still the IDE is loading those great amounts of logs - so the file has got to be somewhere.
I'd appreciate any hints on where to search for those files.
Somehow I managed to find the correct directory: ~/.netbeans/7.2.1/apache-tomcat-7.0.27.0_base/logs
. It held 1,7 GB :)
Still, I don't know: