Debug Tomcat in IntelliJ 7 - Log Files

When I debug Tomcat in IntelliJ IDEA the first few lines I see are.

cmd /c C:\Programs\apache-tomcat-6.0.18\bin\catalina.bat run
Using CATALINA_BASE:   C:\Documents and Settings\user123\.IntelliJIdea70\system\tomcat_Unnamed_21fea34c6
Using CATALINA_HOME:   C:\Programs\apache-tomcat-6.0.18
Using CATALINA_TMPDIR: C:\Programs\apache-tomcat-6.0.18\temp
Using JRE_HOME:        C:\Java\jdk1.6.0_11
Connected to the target VM, address: '', transport: 'socket'

I read in another thread

that in such case the Tomcat logs go to
C:\Documents and Settings\user123\.IntelliJIdea70\system\tomcat_Unnamed_21fea34c6
and that is indeed so.

My question is: can I change this behaviour so that the Tomcat logs go in the usual location i.e. this one:

Thanks in advance.

Please sign in to leave a comment.