I'm running Tomcat not from the command-line but from the Bootstrap class's
start() method. When I start it using the command-line, a logs/tomcat.log is
created in CATALINA_BASE, but not when I start from the Bootstrap class. In
fact, I get the "log4j:WARN Please initialize the log4j system properly."
log message in the output.

What is the catalina.bat file doing differently that makes properly
initializes log4j? There are a few things relating to setting
java.util.logging properties, but that shouldn't make a difference because
I'm using log4j. I'm using Tomcat 6 and following the directions at
http://tomcat.apache.org/tomcat-6.0-doc/logging.html for log4j.

I imagine I've followed those directions properly because the logs are
appearing when I run it from the command-line. And ideas of what might be
causing this, or what should I try next?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/log4j-when-using-Bootstrap-not-command-line-startup-tp14356626p14356626.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to