简体   繁体   English

如何在IntelliJ中查看Tomcat生成的Web应用程序的日志

[英]How Can I See the Logs of my Web Application Generated by Tomcat within IntelliJ

In IntelliJ Idea, I can view certain tomcat specific logs except the one generated by my web application. 在IntelliJ Idea中,我可以查看某些特定于tomcat的日志,但不是由Web应用程序生成的日志。 For example, if I have an application named myWebApp, tomcat usually generates myWebApp.log under its log directory. 例如,如果我有一个名为myWebApp的应用程序,tomcat通常会在其日志目录下生成myWebApp.log。 How can I display this in IntelliJ Idea? 如何在IntelliJ Idea中显示此内容? Thanks a lot. 非常感谢。

Did you look at "Edit Configurations... > Tab Logs" ? 您是否看过“编辑配置...>选项卡日志”? You can specify any log file to display in IDEA console. 您可以指定要在IDEA控制台中显示的任何日志文件。

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么IntelliJ能够看到我的应用程序上下文,但是当我运行我的测试时他们看不到它? - Why would IntelliJ be able to see my application context, but when I run my tests they can't see it? 当Tomcat无法启动Spring / Hibernate Web应用程序时,如何找到错误? - How can I find the error when Tomcat fails to start my Spring/Hibernate web application? 如何直接在 localhost:8080 中打开我的 web 应用程序而不是 tomcat 主页 - How can I open my web application in localhost:8080 directly instead of tomcat home page 我如何使用域直接访问部署在AWS tomcat中的Web应用程序而不显示端口? - how can i directly access my web application deployed in aws tomcat using domain without showing port? 如何查看Spring StoredProcedure生成的SQL? - How can I see the generated SQL from my Spring StoredProcedure? 如何查看包含我的方法生成的帧的 strackrace? - How can I see the strackrace that includes the frames generated by my methods? 无法运行第一个Web应用程序Tomcat + Intellij - Can`t run first web application Tomcat + Intellij 如何从Tomcat 6中的Web应用程序内部进行登录 - How do I log from inside my web application in Tomcat 6 如何获得Web服务应用程序的“日志”路径? - How can I get the “logs” path for a web service application? 如果我手动构建并部署到Tomcat,但不能在IntelliJ下运行,Web应用程序是否可以正常工作? - Web Application working if I manually build and deploy to Tomcat, but not under IntelliJ?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM