开发者

Eclipse Tomcat log files

开发者 https://www.devze.com 2023-03-22 05:03 出处:网络
I find the similar question - answer But it doesn\'t help any. Near .meta开发者_运维技巧data I didn\'t find any files *.log.

I find the similar question - answer

But it doesn't help any. Near .meta开发者_运维技巧data I didn't find any files *.log. May be Tomcat when run from Eclipse doesn't write log files? Thanks.


Look in workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\logs

Source: Logging output in Eclipse WTP server


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:

-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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消