Where is the “server log” for Tomcat when running externally from IntelliJ Ultimate?

前端 未结 2 1582
情深已故
情深已故 2020-12-01 18:44

When running my Vaadin app on Tomcat 8.5 externally from IntelliJ Ultimate 2017.2 on macOS Sierra, I get an error message:

Artifact timepiece-ui:war e

相关标签:
2条回答
  • 2020-12-01 19:05

    IntelliJ IDEA shows the log files you configure in the Run/Debug configuration settings as the separate tabs in the Run or Debug tool window.

    For Tomcat the actual logs are placed under CATALINA_BASE/logs directory. The value of the CATALINA_BASE set by IntelliJ IDEA will be printed in the console of the Run or Debug tool window.

    You can also find the log files under idea.system.path/tomcat/<configuration name>/logs/.

    0 讨论(0)
  • 2020-12-01 19:07

    IntelliJ displays Tomcat logs

    The accepted Answer by CrazyCoder is correct.

    In addition, as commented by Jerry06, IntelliJ Ultimate does automatically display the logs as tabs in the server output pane.

    The files backing those logs are stored in the CATALINA_BASE as explained in the other Answer.

    0 讨论(0)
提交回复
热议问题