diff tomcat/server.xml @ 255:adbef03ee9e8

add max days to access log
author smith@nwoca.org
date Tue, 29 May 2018 17:12:03 +0100
parents 120fc16ea511
children
line wrap: on
line diff
--- a/tomcat/server.xml	Wed May 23 17:55:09 2018 +0100
+++ b/tomcat/server.xml	Tue May 29 17:12:03 2018 +0100
@@ -67,7 +67,8 @@
         <Valve className="org.apache.catalina.valves.AccessLogValve" 
 				directory="logs"
                 prefix="localhost_access_log" suffix=".txt"
-                pattern="%h %l %u %t &quot;%r&quot; %s %b" />
+                pattern="%h %l %u %t &quot;%r&quot; %s %b" 
+                maxDays="5"/>
 
       </Host>
     </Engine>