]> git.parisson.com Git - mezzo.git/commitdiff
Add generic uwsgi logrotate config
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 27 Sep 2018 11:06:49 +0000 (13:06 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 27 Sep 2018 11:06:49 +0000 (13:06 +0200)
etc/logrotate.d/uwsgi [new file with mode: 0644]

diff --git a/etc/logrotate.d/uwsgi b/etc/logrotate.d/uwsgi
new file mode 100644 (file)
index 0000000..877cfc5
--- /dev/null
@@ -0,0 +1,9 @@
+"/var/log/uwsgi/*.log" "/var/log/uwsgi/app/*.log" {
+  copytruncate
+  daily
+  rotate 5
+  compress
+  delaycompress
+  missingok
+  notifempty
+}