While running a Tomcat 7 via run configuration directly from Intellij IDEA 10.5.2, I got annoying issues with the Tomcat Log tab on Mac OSX Lion. Tomcat Log works as long as no exception occurs.
But when an exception occurs in servlet container (e.g. JSP rendering exceptions) Tomcat Log gets cleared. Its just empty, no exceptions are shown. I have to manually look into the log file at this location:
/Users/$USERNAME/Library/Caches/IntelliJIdea10/tomcat/$ARTIFACT/logs/localhost.2011-..log
This is VERY annoying. It seems to be that IDEA looses file handle for the log files in case of exception (log directory will be deleted and recreated?).
This bug does NOT occure on my Windows 7 machine, but its reproducible on Ubuntu Linux.