summaryrefslogtreecommitdiff
path: root/packaging/debs/Debian/debian/rabbitmq-server.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/debs/Debian/debian/rabbitmq-server.logrotate')
-rw-r--r--packaging/debs/Debian/debian/rabbitmq-server.logrotate19
1 files changed, 19 insertions, 0 deletions
diff --git a/packaging/debs/Debian/debian/rabbitmq-server.logrotate b/packaging/debs/Debian/debian/rabbitmq-server.logrotate
new file mode 100644
index 00000000..002adfdc
--- /dev/null
+++ b/packaging/debs/Debian/debian/rabbitmq-server.logrotate
@@ -0,0 +1,19 @@
+/var/log/rabbitmq/*.log {
+ size=2M
+ missingok
+ rotate 10
+ compress
+ delaycompress
+ notifempty
+ create 644 rabbitmq rabbitmq
+}
+
+/var/log/rabbitmq/*.log.back /var/log/rabbitmq/*.err {
+ weekly
+ missingok
+ rotate 10
+ compress
+ delaycompress
+ notifempty
+ create 644 rabbitmq rabbitmq
+}