tomcat/tomcat-9.0.logrotate
yaqiangchen af8c356663 Update to 9.0.96
(cherry picked from commit a8d6c0b0fb017406507bda878a1f71b0124c7ebf)
2024-11-13 09:39:44 +08:00

12 lines
323 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
@@@TCLOG@@@/catalina*.log {
copytruncate
weekly
rotate 52
compress
missingok
create 0644 tomcat tomcat
}