How to configure tomcat to create all logfiles when run as integrated server in eclipse

When we deploy web applications in tomcat server running inside eclipse, tomcat by default does not create few log files like localhost.log etc. To set up tomcat to create all the logfiles via eclipse, we can take the following steps

When we add tomcat as server in eclipse and go to Servers View -> Double Click on Servers -> Click on Open Launch Configuration -> Go to Arguments Tab -> See VM argument’s

You will see following parameters


To set up tomcat to create all the logfiles, we need to add following parameters.


Once done, Apply and save the changes and Restart the eclipse.

You should see localhost*.log and other files in the catalina.base directory.

Version History

Date Description
2016-06-26    Initial Version