The Torque.properties file should be placed in %WEB_APP%/WEB-INF/conf directory. And configuration of Torque log was writen in Torque.property. Change torque.applicationRoot parameter to ../webapps/%your_web_app%. Torque will place torque.log into webapps/logs directory of your web application.
----- Original Message ----- From: "Ed Ross" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 24, 2003 7:20 AM Subject: Tomcat & torque & logging > I'm trying to use torque with struts and having some problems. > > 1 - my torque properties file works fine in a standalone application, but > when I use it in tomcat, I get a null pointer with probable cause of no > datasorce - check the logs > > 2 - where are the logs. The log4j stuff is in the properties file, but the > logs are not written where I specify. I think it's because log4j has > already been configured by tomcap. However, the loggin info isn't in the > tomcat logs either. Not sure where to look > > thanks > > ed > This E-mail message is for the sole use of the intended recipient(s) and may > contain confidential and privileged information. Any unauthorized review, > use, disclosure or distribution is prohibited. If you are not the intended > recipient, please contact the sender by reply E-mail, and destroy all copies > of the original message. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
