RE: Catalina.out eats my harddisk space
Under normal use very little appears in catalina.out. What exactly is filling up the file? I would suggest that it is application output or errors and that you need to sort that out. I would also suggest that you use a proper logging package like log4j which will allow you to have rotatable log files which are easier to manage. Ta Matt -Original Message- From: Rajasekar [mailto:[EMAIL PROTECTED] Sent: 29 April 2005 11:05 To: tomcat-user@jakarta.apache.org Subject: Catalina.out eats my harddisk space Hi, I am facing a *catalina.out log* file problem in tomcat5. It eats my harddisk space like anythink. My harddisk size is 80GB hard disk. Everyday i have to remove the catalina.out file. the nextday it fills the harddisk. and i cann't run tomcat. What could be the problem. Please help me if anybody knew to this issue. Regards Rajasekar V.R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Catalina.out eats my harddisk space
On 4/29/05, Rajasekar [EMAIL PROTECTED] wrote: Hi, I am facing a *catalina.out log* file problem in tomcat5. It eats my harddisk space like anythink. My harddisk size is 80GB hard disk. Everyday i have to remove the catalina.out file. the nextday it fills the harddisk. and i cann't run tomcat. What could be the problem. Please help me if anybody knew to this issue. Regards Rajasekar V.R May be you are running Tomcat with log level set at debug/trace. Check server.xml to see the log level there. Or it can be the application. Check for files named logging.properties, log4j.properties in Tomcat installation. -- rgds Anto Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Catalina.out eats my harddisk space
catalina.out is never written to by tomcat itself. (except if no loggers for commons-logging are configured) So .. 1) Do not use System.out 2) Do not use Throwable.printStackTrace() 3) Configure you logging (add log4j, or add a commons-logging configuration) -Tim Rajasekar wrote: Hi, I am facing a *catalina.out log* file problem in tomcat5. It eats my harddisk space like anythink. My harddisk size is 80GB hard disk. Everyday i have to remove the catalina.out file. the nextday it fills the harddisk. and i cann't run tomcat. What could be the problem. Please help me if anybody knew to this issue. Regards Rajasekar V.R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Catalina.out eats my harddisk space
Question to the OT: how are you deleting catalina.out? If you aren't shutting down tomcat first, you need to do that. Otherwise some OS's recreate the file to it's former size with empty space where log info used to be. Beyond that the other poster's ideas should also be followed. --David Dale, Matt wrote: Under normal use very little appears in catalina.out. What exactly is filling up the file? I would suggest that it is application output or errors and that you need to sort that out. I would also suggest that you use a proper logging package like log4j which will allow you to have rotatable log files which are easier to manage. Ta Matt -Original Message- From: Rajasekar [mailto:[EMAIL PROTECTED] Sent: 29 April 2005 11:05 To: tomcat-user@jakarta.apache.org Subject: Catalina.out eats my harddisk space Hi, I am facing a *catalina.out log* file problem in tomcat5. It eats my harddisk space like anythink. My harddisk size is 80GB hard disk. Everyday i have to remove the catalina.out file. the nextday it fills the harddisk. and i cann't run tomcat. What could be the problem. Please help me if anybody knew to this issue. Regards Rajasekar V.R - 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]
Re: Catalina.out eats my harddisk space
From: David Smith [EMAIL PROTECTED] Sent: Friday, April 29, 2005 4:36 AM Question to the OT: how are you deleting catalina.out? If you aren't shutting down tomcat first, you need to do that. Otherwise some OS's recreate the file to it's former size with empty space where log info used to be. Actually, what the OS's do is they keep the other file around until the file is closed, even though it's been deleted, it won't go away until the file is actually closed. The entry in the directory may be gone, but that actual data for the file is still around. When the file is finally closed, the system realizes there are no more references to it, and removes the actual data. Just clearing up the process.. Regards, Will Hartung ([EMAIL PROTECTED]) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]