When tomcat is added as a server under Eclipse thw logs are displayed on the console and it never comes under the logs of tomcat neither in eclipse workspace.
It can be configured to do so by
Double Clicking the newly added server in the Servers menu
1. In General Information
Click Open Launch Configurations - >
-> Add the required arguments in the argument tab ,
-> and in the Common tab you can mention weather the output the to be on the console or piped int o any other log file ion the disk.
Refer this to enable JULI logging on the Server Instance
http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_enable_the_JULI_logging_in_a_Tomcat_5.5_Server_instance.3F
2. In the Server Location - you can choose User Tomcat Installation which will take control on the tomcat installation directory and all application under it will also be deployed
Tuesday, April 7, 2009
Configuring Logging for Tomcat on Eclipse
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment