Hi Naveen, I don't know the big picture about why the same logs get posted to Standard Output (Console) and Catalina log files , but this is default behavior.
There might be some logging configuration that may allow one to turn off logging to either the console or the log file, but I wouldn't worry too much about it. It's only a few lines that get written when TC starts up. You can separately write your application level logs (INFO, ERROR, etc) in separate log files with utilities like Log4J --- discussions on Log4J are outside the scope of this list, but there's a Log4J user mailing list if you are interested in it. -Regards Rashmi On 4/23/07, naveen nagaraja <[EMAIL PROTECTED]> wrote:
HI all I thought there was some problem with my earlier post. So i am reposting. i am running tomcat 5.5.9 as a service in windows xp. i see log files are created under the log folder correctly. My question is that i see same entries in catalina and stderr files. following is the entry of both the files. Any idea why this is happenning? Thanks in advance. Naveen Apr 22, 2007 7:23:47 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Apr 22, 2007 7:23:47 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 672 ms Apr 22, 2007 7:23:47 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Apr 22, 2007 7:23:47 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.9 Apr 22, 2007 7:23:47 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Apr 22, 2007 7:23:48 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Apr 22, 2007 7:23:48 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Apr 22, 2007 7:23:48 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=null Apr 22, 2007 7:23:48 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Apr 22, 2007 7:23:48 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1000 ms
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]