[MyEclipse Tomcat] Enable logging for Integrated Tomcat

Home Forums MyEclipse IDE FAQ – Development [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, 1 month ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #324975
    Profile photo of support-swapna
    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. Go to Window -> Preferences -> MyEclipse -> Servers -> Integrated Sandbox -> MyEclipse Tomcat6 -> JDK. Copy/paste the following property definitions into the Optional Java VM arguments and save the changes.

    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    -Djava.util.logging.config.file=”<your workspace dir>/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/conf/logging.properties”

    Create the folder structure tomcat/conf/logging.properties in the .metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse.

    Start the server and now you can see the log messages at <workspace dir>/.metadata/.me_tcat/logs/catalina<date>.txt

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.