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

Viewed 39237

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 exploded: Error during artifact deployment. See server log for details.

➠ Where is this ‘server log’?

When I look in apache-tomcat-8.5.20 > logs, the folder is empty. Indeed, I cannot find any trace of my app being deployed within apache-tomcat-8.5.20.

➠ Is there some other place where IntelliJ+Tomcat is placing my app and the server logs?

screen shot of "Run/Debug Configurations" > "Logs" dialog box

screen shot of "Application Servers" dialog with Apache Tomcat configuration displayed

3 Answers

For Linux, I'm not sure if its the same for IntelliJ Ultimate, but in the community edition, you can find the Catalina server logs in /home/.SmartTomcat///${catalina.base}/logs. If you couldn't find the .SmartTomcat folder, enable Show hidden files in your file explorer. Since community edition of IntelliJ doesn't support Tomcat, we need to use the Smart tomcat plugin and so the server logs are available in the SmartTomcat directory.

Related