summaryrefslogtreecommitdiff
path: root/tomcat-10.1.logrotate
blob: 082092aa4e8a4abd5a20cb49f9bf95169a2d940b (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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
}