Has anyone tried running 2 turbine-2.3 webapps in the same servlet container - both using log4j?
When I do that, both webapps write to the same logfiles:
there's $WEBAPPS/webapp1/logs/ and $WEBAPPS/webapp2/logs/
The appenders are configured like this:
log4j.appender.turbine = org.apache.log4j.FileAppender
log4j.appender.turbine.file = ${applicationRoot}/logs/turbine.log
log4j.appender.turbine.layout = org.apache.log4j.PatternLayout
log4j.appender.turbine.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.turbine.append = falseBoth webapps write their log to: $WEBAPPS/webapp1/logs/turbine.log
The directory $WEBAPPS/webapp2/logs/ remains empty.
It seems the ${applicationRoot} variable gets set to $WEBAPPS/webapp1 for both webapps.
I am not sure whether this is actually a turbine problem, or a tomcat-classloader issue or
something with log4j itself, because I don't know how that variable gets expanded.
Any ideas?
Cheers, Edmund
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
