My access.log files are HUGE!!!
-rw-r--r-- 1 app dev 745M Sep 24 00:00 access_log.2015-09-23.log
-rw-r--r-- 1 app dev 772M Sep 25 00:00 access_log.2015-09-24.log
-rw-r--r-- 1 app dev 527M Sep 25 17:54 access_log.2015-09-25.log
They already rotate per day (default), but I am trying to figure out how to compress them after they rotate. The only information I can find about the tomcat access log is this https://tomcat.apache.org/tomcat-7.0-doc/config/valve.html#Access_Log_Valve
But it doesnt give any information about compression. I am able to roll/compress my other logs via logback but am unsure how to use logback to configure the tomcat access log (if its possible). I am using embedded Tomcat 7.0.55 with Spring-Boot 1.2.6.RELEASE.
I guess i could cron the compression daily. Would just like to find the "right" solution.
Any and all information would be greatly appreciated.