tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "news.basebeans.com" <MarvinT...@gtcGroup.com>
Subject Log Rotation (4.1.24)
Date Wed, 09 Jul 2003 10:56:38 GMT
I would like to limit the number of log files retained by "Apache Tomcat/4.1.24".  For example:
server.xml
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log."
suffix=".txt" pattern="common" resolveHosts="false"/>

results (windowsXP)
localhost_access_log.2003-07-08.txt
localhost_access_log.2003-07-09.txt
etc.

desired results
To limit the number of daily copies to say ... ten.  Configurable log rotation is a capability
within a WebLogic console and am wondering if Tomcat has the functionality (without invoking
an external script).

Any ideas?
Marvin Toll
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message