Tomcat logging in eclipse
I would like to see the output of my log in Eclipse Console. I had configured it a while ago and do not seem to recollect.
I have the log4j.properties file.
I am not sure of the right place to place it so that the output is displayed in Eclipse console instea开发者_Python百科d of being written to a file in tomcat\logs. I am using tomcat 6.0.24
Please help.
Thanks.
You can use the Eclipse WTP project to run servers and have their console output displayed in Eclipse. See the WTP Tomcat FAQ for details.
Also, make sure you're using a ConsoleAppender in your log4j.properties configuration.
精彩评论