tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terence M. Bandoian" <tere...@tmbsw.com>
Subject Re: Way to generate a "localhost.log" instead of "localhost-4-20-2010.log"?
Date Tue, 20 Apr 2010 04:18:44 GMT
Here's a Linux script to remove log files older than seven days:

    find /var/tomcat5/logs -daystart -mtime +7 -type f -exec rm '{}' \;

Just in case anyone might find it useful.

-Terence Bandoian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message