According to http://tomcat.apache.org/tomcat-5.5-doc/logging.html, "A handler's log level threshold can be set using SEVERE, CONFIG, INFO, WARN, FINE, FINEST or ALL. The logging.properties shipped with JDK is set to INFO." For kicks, I did try setting everything to DEBUG which didn't hav any effect. <http://tomcat.apache.org/tomcat-5.5-doc/logging.html>
I was a bit confused on the stdout and stderr since I do have two empty files that Tomcat created in the same directory. Thanks for the feedback. Ben
Is FINE even a log level? I would try DEBUG or TRACE. Also, Catalina.out is std out.
--David
On 10/25/06, Ben Geyer <[EMAIL PROTECTED]> wrote:
I'm trying to move an existing app I had running in Websphere 6 over to Tomcat 5.5.20. My development platform is WinXP. As part of this migration, I'm relying on the log files to help me determine what's happening. I haven't modified the logging stuff whatsoever. This is what I get in catalina.log: Oct 25, 2006 1:32:04 PM org.apache.catalina.core.AprLifecycleListenerlifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin ;.;C:\WINDOWS\system32;C:\WINDOWS; Oct 25, 2006 1:32:05 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Oct 25, 2006 1:32:05 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 951 ms Oct 25, 2006 1:32:05 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 25, 2006 1:32:05 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.20 Oct 25, 2006 1:32:05 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Oct 25, 2006 1:32:06 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Oct 25, 2006 1:32:06 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/JRASampleApplicationTomcat] startup failed due to previous errors Oct 25, 2006 1:32:06 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Oct 25, 2006 1:32:07 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Oct 25, 2006 1:32:07 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/40 config=null Oct 25, 2006 1:32:07 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Oct 25, 2006 1:32:07 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 2051 ms I get nothing in stdout or stderr. As a doublecheck, I went back and modified logging.properties to change the level to FINE everywhere it previously said INFO just to make sure. No discernable change to the results. I have already read http://tomcat.apache.org/tomcat-5.5-doc/logging.html to make sure I didn't miss anything obvious. It seems like I should see more. Any help would be appreciated. Thanks, Ben