“服务器日志”在哪里?从IntelliJ Ultimate外部运行时的Tomcat? [英] Where is the "server log" for Tomcat when running externally from IntelliJ Ultimate?
问题描述
在
IntelliJ IDEA显示日志文件在运行/调试配置设置中配置作为运行或调试工具窗口中的单独选项卡。
˚F或Tomcat将实际日志放在 CATALINA_BASE / logs
目录下。 IntelliJ IDEA设置的 CATALINA_BASE
的值将打印在运行或调试工具窗口的控制台中。
您还可以在 idea.system.path <$下找到日志文件。 c $ c> / 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屋!