system_configuration/root/etc/logrotate.d/tomcat.disabled
2023-04-15 01:23:32 -07:00

12 lines
327 B
Plaintext

# This is an example config only and is disabled by default
# If you wish to use it, you'll need to update /etc/tomcat/logging.properties
# to prevent catalina*.log from being rotated by Tomcat
/var/log/tomcat/catalina*.log {
copytruncate
weekly
rotate 52
compress
missingok
create 0644 tomcat tomcat
}