4

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.

Community
  • 1
  • 1
user810430
  • 11,181
  • 15
  • 38
  • 43

3 Answers3

8

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

Source: Logging output in Eclipse WTP server

Community
  • 1
  • 1
Hansa
  • 81
  • 1
  • 1
6

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

Daniel Serodio
  • 4,229
  • 5
  • 37
  • 33
prusswan
  • 6,853
  • 4
  • 40
  • 61
0

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