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

18 lines
425 B
Plaintext
Raw Permalink Normal View History

2020-06-01 19:00:45 +02:00
{{ tomcat_m_instances_logdir_base }}/{{ item.http_port }}/catalina.out {
copytruncate
{{ item.log_rotation_freq }}
rotate {{ item.log_retain }}
compress
missingok
create 640 {{ item.user }} adm
}
{{ tomcat_m_instances_logdir_base }}/{{ item.http_port }}/localhost_access.log {
copytruncate
{{ item.log_rotation_freq }}
rotate {{ item.log_retain }}
compress
missingok
create 640 {{ item.user }} adm
}