Thanks for the answer. This was very helpful to correctly place the
torque.log.
--
Humberto
----------------------------------------------------------
From: Age Mooy <[EMAIL PROTECTED]>
Subject: Torque log4j debugging
Date: Fri, 21 Jun 2002 21:57:17 +0200
Content-Type: text/plain;
charset="iso-8859-1"
I'm not exactly sure when the following feature was added to the stratum
ComponentLoader but I'm using a
stratum-1.0-b2-dev.jar from May 15th and it's definately in there.
Ok, what you do is add some properties to the Torque component in your TRP
like this (the last two lines are
new):
component.name = torque
component.torque.classname = org.apache.torque.Torque
component.torque.config = ${webappRoot}/WEB-INF/conf/Torque.properties
component.torque.property.applicationRoot = ${applicationRoot}
component.torque.property.webappRoot = ${webappRoot}
And then in your Torque.properties file you replace
log4j.appender.org.apache.torque.file =
${torque.applicationRoot}/logs/torque.log
with
log4j.appender.org.apache.torque.file = ${applicationRoot}/logs/torque.log
And presto !
Age
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>