We are trying to run an application on Tomcat. Project is placed in webapps folder inside Tomcat 5.0 folder. We want the logs for applcation to be on our machine for which there are two log4j xml and dtd files that shall help in mapping via server. VM arguments are to be set so that startup.bat reads these files. I am not aware about the file where I need to modify and the statement to code. Is there any way to do this??
In case if the tomcat server is started in RAD,then we start the server and then Go to Run -> Debug� or Run -> Run and Select �Arguments� tab and add the followinglog4j.configuration="file:\C:\logfile\log4j.xml".
We want to do the same when the application is run only in Tomcat without RAD/eclipse.