Re: Tomcat 4.1.24 logs

2003-09-25 Thread Tim Funk
Via tomcat no. A simple perl/sh/... script run nightly would work nicely to 
delete old log files.

-Tim

Sarika N Inamdar wrote:

Hi,

With tomcat 4.1.24 , everyday one log file is created. Is there any
configuration we can do to cleanup/remove the previous log files ?
Out application runs for many days and each of these log files is about
400MB. This would really eat up a lot of memory.
Would really appreciate any help on this.

Thanks,
Sarika
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat 4.1.24 logs

2003-09-25 Thread Shapira, Yoav

Howdy,
Which log files are you talking about?  Why are they so verbose?
400MB/day is a lot of logging information.

Tomcat rotates the servlet context logs, host logs for your nightly.
You can erase the old ones if you don't need them.  You can redirect
System.out and System.err output to the context logs using the
swallowOutput property of a context definition in server.xml.  That
should cover most of your output.

Of course, if you cared enough to search the archives before posting,
you will have known the above already...

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Sarika N Inamdar [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 25, 2003 12:04 AM
>To: 'Tomcat Users List'
>Subject: Tomcat 4.1.24 logs
>
>Hi,
>
>With tomcat 4.1.24 , everyday one log file is created. Is there any
>configuration we can do to cleanup/remove the previous log files ?
>
>Out application runs for many days and each of these log files is about
>400MB. This would really eat up a lot of memory.
>
>Would really appreciate any help on this.
>
>Thanks,
>Sarika
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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]



Re: Tomcat 4.1.24 logs

2003-09-24 Thread Support
I believe that's is a 5.0 feature it's not in 4.1 release
The attribute is called "rotatable"
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html

-Alan

- Original Message - 
From: "Sarika N Inamdar" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 11:03 PM
Subject: Tomcat 4.1.24 logs


> Hi,
> 
> With tomcat 4.1.24 , everyday one log file is created. Is there any
> configuration we can do to cleanup/remove the previous log files ?
> 
> Out application runs for many days and each of these log files is about
> 400MB. This would really eat up a lot of memory.
> 
> Would really appreciate any help on this.
> 
> Thanks,
> Sarika
> 
> 
> -
> 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]