Howdy, >I'm using log4j in my web app - and that's all working fine - but strangely >I'm also getting some log messages in stdout. Do I need to set the level >for the root logger? If so - could someone show me how.
That's because not all of tomcat uses commons-logging. Some parts still use tomcat's own loggers, including those that write to stdout (catalina.out by default). >On a related issue - if I'm running Tomcat (on Windows) from the command >line - is there a way to specify where I want stdout and stderr to go? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/logger.html You probably want to set verbosity to zero, if you keep the Loggers at all. Also note the swallowOutput attribute of the Context element: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html as you probably want to set this to true. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
