“服务器日志"在哪里?从 IntelliJ Ultimate 外部运行时用于 Tomcat? [英] Where is the "server log" for Tomcat when running externally from IntelliJ Ultimate?
问题描述
在
IntelliJ IDEA 显示日志文件 您在运行/调试配置设置中将配置为运行或调试工具窗口中的单独选项卡.
对于 Tomcat,实际日志位于 CATALINA_BASE/logs
目录下.IntelliJ IDEA 设置的CATALINA_BASE
的值将打印在 Run 或 Debug 工具窗口的控制台中.
您还可以在 idea.system.path<下找到日志文件代码>/tomcat/<配置名称>/logs/.
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?
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/
.
这篇关于“服务器日志"在哪里?从 IntelliJ Ultimate 外部运行时用于 Tomcat?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!