To enable logging for the Integrated Tomcat server you have to add the following property definitions to the integrated MyEclipse Tomcat 6 configuration. Double click the “MyEclipse Tomcat V7.0” server in the Servers view, to bring up the configuration editor. Then click the “Open launch configuratoin” link in the “General Information” pane. Select the Arguments tab and go to the “VM arguments” section. Copy/paste the following property definitions to the end of the existing arguments:
Remember to substitute your workspace folder path, as appropriate (you can copy and paste it from other arguments that are already there).
Start the server and now you can see the log messages at <workspace dir>\.metadata\.me_tcat7\logs\catalina<date>.txt
Note: For releases earlier than 2015, you will find the VM arguments via the MyEclipse preferences. Go to Window -> Preferences -> MyEclipse -> Servers -> Integrated Sandbox -> MyEclipse Tomcat6 -> JDK. Copy/paste the property definitions into the Optional Java VM arguments (don’t forget to substitute your workspace folder path as appropriate) and save the changes. The logging config file should be created at the following location with the .metadata folder: .plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\conf\logging.properties, instead of the location mentioned above.
This topic was modified 2 years, 8 months ago by support-tony. Reason: Updated for 2015