Add this to cron: (use google to decode)

0 0 * * * find /TCLOG_DIR/localhost_access_log* ! -mtime -30|xargs rm

-Tim

Vamsavardhana Reddy wrote:
Is there a way to specify how many days access logs should be retained by
tomcat so that old access logs (for e.g. more than a month old) are
automatically deleted?  I am using Tomcat 5.5.15.


---------------------------------------------------------------------
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