facebook

[MyEclipse Tomcat] Enable logging for Integrated Tomcat

  1. MyEclipse IDE
  2.  > 
  3. FAQ – Development
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #324975 Reply

    support-swapna
    Moderator

    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.manager=org.apache.juli.ClassLoaderLogManager
    -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 8 years, 9 months ago by support-tony. Reason: Updated for 2015
Viewing 1 post (of 1 total)
Reply To: [MyEclipse Tomcat] Enable logging for Integrated Tomcat

You must be logged in to post in the forum log in