ansible-role-tomcat/templates/tomcat_access.logrotate.j2

9 lines
196 B
Django/Jinja

{{ tomcat_logdir }}/localhost_access.log {
copytruncate
{{ tomcat_access_log_rotation_freq }}
rotate {{ tomcat_retain_old_logs }}
compress
missingok
create 640 {{ tomcat_user }} adm
}