Babu Kalakrishnan wrote:
I have a working Turbine application that I moved to another Tomcat environment (Tomcat 4.1.18). Everything seems to work normally except that almost all the logging output goes to Tomcat's stdout stream and ends up in catalina.out
Additional inputs :
I put in additional System.out.println statements to find out how the LogFactories are being configured, and here are the outputs :
Value of System Property org.apache.commons.logging.LogFactory = org.apache.commons.logging.impl.Log4jFactory
Class of object returned by LogFactory.getFactory() = org.apache.commons.logging.impl.LogFactoryImpl
Class of object returned by LogFactory.getLog() = org.apache.commons.logging.impl.SimpleLog
And when it runs under the original tdk-2.3_01 container, the corresponding values are :
Value of System Property org.apache.commons.logging.LogFactory = org.apache.commons.logging.impl.Log4jFactory
Class of object returned by LogFactory.getFactory() = org.apache.commons.logging.impl.Log4jFactory
Class of object returned by LogFactory.getLog() = org.apache.commons.logging.impl.Log4JLogger
So obviously LogFactory is ignoring the System property (set inside the Context tag). Could this be a classloader issue ?
BK
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
