在Eclipse WTP服务器中记录输出 [英] Logging output in Eclipse WTP server
本文介绍了在Eclipse WTP服务器中记录输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
不能在我的eclipse / workspace 中找到它,也不能在本地的 Tomcat 6 安装目录
任何线索如何启用这些?
我也启用了 org.apache.catalina
解决方案
在服务器选项卡中:
- 双击Tomcat服务器。
- 点击打开启动配置。
- 点击常用标签。
- 选中文件复选框并指定一个文件。 b $ b
- 重新启动Tomcat服务器。
这是基于codesta的答案:https://stackoverflow.com/a/5045247/112335
I'm running Eclipse 3.5 with Tomcat (integrated from WTP) and I want to see the output logs in txt other than just the console
Cant find it in my eclipse/workspace nor in the local Tomcat 6 installation directory
Any clues how to enable these?
I've also enabled org.apache.catalina.valves.RequestDumperValve
and the output scrolls by on console which I want to see in txt
解决方案
In the Servers tab:
- Double-click on the Tomcat Server.
- Click on "Open launch configuration".
- Click on the "Common" tab.
- Check the "File" checkbox and specify a file.
- Restart the Tomcat server.
This is based on codesta's answer: https://stackoverflow.com/a/5045247/112335
这篇关于在Eclipse WTP服务器中记录输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文