Change retention period of tomcat8 localhost_access_log files
My tomcat 8 logs folder (/tomcat/logs) is using up lots of disk space with localhost_access_log files. According to this post: Tomcat localhost_access_log files cleanup I can edit the /tomcat/conf/server.xml file’s preexisting “Valve” element to introduce a “maxDays” param, so it would look like this: <Server port=”1234″ shutdown=”SHUTDOWN”> <Service name=”Catalina”> <Engine name=”Catalina” defaultHost=”localhost”> <Host name=”localhost” appBase=”foo” … Read more