This is more a matter for the Tomcat docs. Tomcat does not use Log4j. It uses commons-logging. Furthermore, it uses commons-logging-api.jar which does not recognize Log4j as an implementation that it wraps. I'm pretty sure Tomcat docs have pointers on logging configuration. Note that Tomcat-5.0 and 5.5 have very different logging setups. 5.5's is much more flexible, IMO. In any case, this is a question for the Tomcat user list or you can simply find your answer in their docs.
Jake At 12:40 PM 12/27/2005 +0000, you wrote: >I am using Tomcat5.0 I have a question about logging in Tomcat. I configured >server.xml to point context logging to specific file name in logs directory >something like: > <Context path="/mydir" docBase="mydir" debug="0" > reloadable="false" crossContext="false"> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="mydir_log." suffix=".txt" logVerbosityLevel="WARNING" > timestamp="true"/> </Context> > >I want my System.out.println messages printed from this context go to this >file, >but it is not the case, they go to general catalina.out. > >Also does anybody knows how to stop [INFO] level messages being posted to >catalina.out ????? Any sort of help will be appreciated....... > >Thxs > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
