Hi, >Does anybody know if it is possible to configure tomcat >to have a "RollingFileAppender" (as in log4j) >for its log files ? >I had a "no space left on device" due to too many logs in $TOMCAT/logs
Tomcat's logs are rotated nightly as you've probably noticed by now. The catalina.out log is simply a trap for System.out/System.err and is not rotated regularly by tomcat. You can set swallowOutput=true on your contexts to direct System.out/System.err output from them to the context logs which are rotated, or you can use a 3rd program like cronlog to rotate your logs. Tomcat does not support all the configuration options of log4j's RollingFileAppenders. It is the server administrator's responsibility to ensure enough space for logs: this is true for any server-side program. 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]