[MyEclipse Tomcat] Enable logging for Integrated Tomcat

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of support-swapna support-swapna 3 years, 6 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #324975
    Profile photo of support-swapna

    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:

    -Djava.util.logging.config.file=”<your workspace folder>\.metadata\.me_tcat7\conf\logging.propertieslogging.properties”

    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 3 months, 2 weeks ago by Profile photo of support-tony support-tony. Reason: Updated for 2015
Viewing 1 post (of 1 total)

The forum ‘FAQ – Development’ is closed to new topics and replies.