Eclipse Tomcat log files

19,575

Solution 1

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

Source: Logging output in Eclipse WTP server

Solution 2

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

Share:
19,575
user810430
Author by

user810430

Updated on June 27, 2022

Comments

  • user810430
    user810430 almost 2 years

    I find the similar question - answer

    But it doesn't help any. Near .metadata I didn't find any files *.log. May be Tomcat when run from Eclipse doesn't write log files? Thanks.