分类:
tomcat(1) eclipse
Where can I view Tomcat log files in Eclipse?
I'm not sure if you were after catalina.out or one of the other logs produced by Tomcat.
But, if you're after the catalina.out log file then follow the directions below:
In the servers tab, double-click on the Tomcat Server. You will get a screen called Overview.
Click on "Open launch configuration". Click on the "Common" tab.
Towards the bottom of the screen you can check the "File" checkbox and then specify a file that can be used to log your console (catalina.out) output.
Finally, restart the Tomcat server.
原文地址:http://*.com/questions/2233053/where-can-i-view-tomcat-log-files-in-eclipse