you were spot on. There was a nasty props file in the torque jar that was Classloaded before the rest were hit. Thanx
-----Original Message----- From: Saravana Krishnan Kannan [mailto:[EMAIL PROTECTED] Sent: 22 April 2004 23:40 To: [EMAIL PROTECTED] Subject: Re: RE: tomcat 5.x torque struts logging Hi, Putting a log4j.properties file in the classpath (probably WEB-INF/classes if u use tomcat) helped solve the problem for me. Just copy the log4j options from Torque.properties to log4j.properties. Also you SHOULD remove torque-gen.jar from the lib or class directories. It is not needed for running a Torque App, but it has a log4j.properties inside it from which log4j reads the properties if u dont remove torque-gen.jar. Hope this helps for Tomcat - it did help for a normal application. ~Sarav -----Original Message----- From: "joop" <[EMAIL PROTECTED]> To: "Apache Torque Users List" <[EMAIL PROTECTED]> Date: Thu, 22 Apr 2004 21:31:07 +0100 Subject: RE: tomcat 5.x torque struts logging I think I might not be clear. How is the loggin in torque configured? Ive edited the log4j entries in the runtime props but it doesnt seem to be used. I need to turn down debug. Since integrating my torque app with my webapp as soon as i start tomcat5 I get immediate debug. And thats the intire tomcat boot process. I even get all the digester pops and validator code in the output. Hows the logging configured? I have a bug with a struts pluggin initializing Torque but I can see it for all the noise! -----Original Message----- From: joop [mailto:[EMAIL PROTECTED] Sent: 22 April 2004 16:05 To: [EMAIL PROTECTED] Subject: tomcat 5.x torque struts logging Anyone, I do know this is a stupid , but I'll ask never the less ;-). I have a working app using a torque schema derived db layer. I have copeid all the jars to a struts (pre working) wepapp. I got the jars from the torque-gen.jar/lib dir. When I deploy my webapp I get debug logging that is blowing the logging I need to debug out of the water. I'm getting loads! How do I set the debug level? Ive changed all the .properties file relating to degub to WARN. Ive set my torque.debug level to warn ! I couldn't even get the app standalone to log anything but debug after some persistant attempts! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
