well, it was the maxbackupindex that was what I was trying to find
out. We already are in the process of deleting the files which are
older than a certain time period...

thanks,
Vivek.

On 8/22/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Vivek,
>
> Vivek Mohan wrote:
> > Is there a way to delete tomcat logs which are "older" than 5 days?
>
> You could configure Tomcat to use log4j instead of juli and use a
> DailyRollingFileAppender -- it will generate a new file every day and
> you can simply delete the ones that are several days behind whenever you
> want.
>
> (Unfortunately, DailyRollingFileAppender doesn't inherit from
> RollingFileAppender which includes a "max backup index" setting and will
> automatically clean up after old log files).
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGzIF19CaO5/Lv0PARAg39AKDCPdqZuNlmqfsZDvVhbwDacsnU1ACdEY82
> frNhYK+LhiH/3tkH1zAQZwE=
> =DVAL
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
"This is your life and it's ending one minute at a time."

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to