Yes. You set this in the server.xml file of tomcat with the <Logger> entry. Check your server.xml file and I will bet you are using a ConsoleLogger at some level. Change those to FileLogger types instead. Check the Tomcat docs (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html) for more info.
Dave Patton On Fri, 2003-03-07 at 10:17, Scott Power wrote: > I was wondering if there is a way to stop tomcat from printing its > messages to the console. I know how to configure the log4j message from > within the application, by setting the level in the log4j.configuration > file but I still get message on the console like the ones below. I > would like to stop these from showing up, I only want to see message > from my app and the fact that tomcat has started and stopped. I tried > to change my CATALINA_OPTS variable in my CATALINA.bat file but I think > I might either have incorrect syntax or something, I am using win 2000, > with tomcat 4.1. I have checked all my debug levels in the server xml, > web.xml both for tomcat and the app itself. I know its not a really big > deal, but I want to make some clean log files for later use. If anyone > has ideas I would like to hear them. > > Once again thanks in advance. > > Scott > > > > > 7-Mar-2003 2:11:56 PM org.apache.commons.modeler.Registry loadRegistry > INFO: Loading registry information > 7-Mar-2003 2:11:56 PM org.apache.commons.modeler.Registry getRegistry > INFO: Creating new Registry instance > 7-Mar-2003 2:11:57 PM org.apache.commons.modeler.Registry getServer > INFO: Creating MBeanServer > 7-Mar-2003 2:11:59 PM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on port 8080 > . > . > . > . > \/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] _________________________________ David H. Patton [EMAIL PROTECTED] (202) 276-8998 - pcs -----BEGIN PGP PUBLIC KEY BLOCK----- Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> mQENBDui6osBCADP9OqVftQ2qxZz2fsxEf6GT6V2Fu0c2iIIMeWGyc5Pwl+xXe2w 3wx2pmNkLy3Zjp2/5q4nhvJd/GVn5gRR9OVTKgAz4o+xcOcAVIbgz3xFICbLozKa 2aZOUDtOu0TuYGhI9iIeGuPjnMjsS38EfZQ2DWwd+p5UW6wnsSuG7xniUT372v8w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