Eclipse Tomcat 日志文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6799602/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse Tomcat log files
提问by user810430
回答by Hansa
Look in workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\logs
在看 workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\logs
回答by prusswan
Yes. If you want the logs like those for a default Tomcat 6 installation started using startup.bat, you need to add the following JVM arguments:
是的。如果您希望使用 startup.bat 启动类似默认 Tomcat 6 安装的日志,您需要添加以下 JVM 参数:
-Dcatalina.base="C:\Tomcat6"
-Dcatalina.home="C:\Tomcat6"
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file="C:\Tomcat6\conf\logging.properties"
Also add C:\Tomcat6\bin and C:\Tomcat6\lib to the classpath if necessary
如有必要,还将 C:\Tomcat6\bin 和 C:\Tomcat6\lib 添加到类路径
回答by rajeev krishna singh
Go to server view --> double click on server --> In Overview tab you will find server locations click on this to extend part --> In this part you will find server path --> In server path you will find logs folder In that folders log files will be available
转到服务器视图 --> 双击服务器 --> 在概览选项卡中,您将找到服务器位置,单击此扩展部分 --> 在此部分中,您将找到服务器路径 --> 在服务器路径中,您将找到日志文件夹在该文件夹中,日志文件将可用