summaryrefslogtreecommitdiff
path: root/tomcat-10.1.logrotate
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-11-27 07:38:26 +0000
committerCoprDistGit <infra@openeuler.org>2026-11-27 07:38:26 +0000
commitccc3badf8e850615abe7c93c8badb9d5e027c854 (patch)
treebb465c2ac15156a59563b3c2b6aaf62285698283 /tomcat-10.1.logrotate
parentb2c2e545b019af5753f7935a994902010c220df3 (diff)
automatic import of tomcat10.1.54openeuler24.03_LTS_SP3
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
+}