summaryrefslogtreecommitdiff
path: root/tomcat-10.1.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'tomcat-10.1.logrotate')
-rw-r--r--tomcat-10.1.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/tomcat-10.1.logrotate b/tomcat-10.1.logrotate
new file mode 100644
index 0000000..082092a
--- /dev/null
+++ b/tomcat-10.1.logrotate
@@ -0,0 +1,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
+}