summaryrefslogtreecommitdiff
path: root/logrotate
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-21 08:32:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-21 08:32:20 +0000
commit795c7b002c16f0ca9cda0cbd7d196700864a0d31 (patch)
tree707f445f30670ab7f06c808a7ee0710a33425b5f /logrotate
parent39352f18ea3d446503b2b77e21f3457f5420cf9d (diff)
automatic import of resalloc
Diffstat (limited to 'logrotate')
-rw-r--r--logrotate15
1 files changed, 15 insertions, 0 deletions
diff --git a/logrotate b/logrotate
new file mode 100644
index 0000000..f1ff9a3
--- /dev/null
+++ b/logrotate
@@ -0,0 +1,15 @@
+compress
+
+/var/log/resallocserver/main.log {
+ missingok
+ notifempty
+ rotate 4
+ weekly
+ copytruncate
+}
+
+/var/log/resallocserver/hooks.log {
+ missingok
+ rotate 7
+ daily
+}