/var/log/tomcat8/*.log { rotate 52 weekly copytruncate missingok compress delaycompress notifempty dateext dateformat -%Y-%m-%d create 644 tomcat8 tomcat8 }