Tomcat integration, log file

Hello,

I'm using the Tomcat plugin to run/debug my web app through IDEA.
It works fine to run Tomcat but the logging doesn't seem to work.

If i run the exact same configuration outside of idea (starting tomcat
manually) it logs to the log file i specified in server.xml (catalina
home/logs/mylog-YYYY-MM-DD), which it doesn't with the Tomcat plugin.

The only logs i see with the Tomcat plugin is things i send to standard
out (they appear in the run frame).

I'm using Tomcat 4.0.1 and latest EAP IDEA.

Does anyone have a suggestion of what might be the problem and how to fix?

Thanks in advance,
Johan Isacsson

2 comments
Comment actions Permalink

Hello,
i'm using an absolute path to the logfile and it works with it. Otherwise i guess you have to look into the intellliJIdea/system/]]>/logs directory, there you may find your logs.

Reto

0
Comment actions Permalink

Hey,

Thank you for the help, the absolute path approach worked :)

Regards,
Johan Isacsson

Reto Badertscher wrote:

Hello,
i'm using an absolute path to the logfile and it works with it. Otherwise i guess you have to look into the intellliJIdea/system/<your web context>/logs directory, there you may find your logs.

Reto


0

Please sign in to leave a comment.