eclipse集成tomcat日志文件输出配置
分类:
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.