changeset 255:adbef03ee9e8

add max days to access log
author smith@nwoca.org
date Tue, 29 May 2018 17:12:03 +0100
parents 9c22ca071995
children 1866c261576f
files tomcat/server.xml
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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>