在Eclipse WTP服务器中记录输出 [英] Logging output in Eclipse WTP server

查看:116
本文介绍了在Eclipse WTP服务器中记录输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

),我希望看到txt中的输出日志,而不仅仅是控制台



不能在我的eclipse / workspace 中找到它,也不能在本地的 Tomcat 6 安装目录



任何线索如何启用这些?



我也启用了 org.apache.catalina

解决方案

在服务器选项卡中:


  1. 双击Tomcat服务器。

  2. 点击打开启动配置。

  3. 点击常用标签。

  4. 选中文件复选框并指定一个文件。 b $ b
  5. 重新启动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:

  1. Double-click on the Tomcat Server.
  2. Click on "Open launch configuration".
  3. Click on the "Common" tab.
  4. Check the "File" checkbox and specify a file.
  5. Restart the Tomcat server.

This is based on codesta's answer: https://stackoverflow.com/a/5045247/112335

这篇关于在Eclipse WTP服务器中记录输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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