我在哪里可以查看 Eclipse 中的 Tomcat 日志文件? [英] Where can I view Tomcat log files in Eclipse?

查看:44
本文介绍了我在哪里可以查看 Eclipse 中的 Tomcat 日志文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在哪里可以在 Eclipse 中查看 Tomcat 日志文件?

Where can I view Tomcat log files in Eclipse?

出于某种原因,我的 Tomcat 安装/日志文件夹始终为空.

For some reason my Tomcat installation/log folder is always empty.

顺便说一句,Tomcat 是在一段时间后转储到日志文件还是立即转储?

BTW, does Tomcat dump to the log file after a while or is it immediate?

推荐答案

转到服务器"视图,然后双击您正在运行的 Tomcat 服务器.访问日志文件是相对于服务器路径"字段中的路径存储的,该路径本身是相对于工作区路径的.

Go to the "Server" view, then double-click the Tomcat server you're running. The access log files are stored relative to the path in the "Server path" field, which itself is relative to the workspace path.

这篇关于我在哪里可以查看 Eclipse 中的 Tomcat 日志文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆