From f9b07da7f1b4c0fc805d25ebd875152a99e50fd2 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 27 Sep 2018 13:06:49 +0200 Subject: [PATCH] Add generic uwsgi logrotate config --- etc/logrotate.d/uwsgi | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 etc/logrotate.d/uwsgi diff --git a/etc/logrotate.d/uwsgi b/etc/logrotate.d/uwsgi new file mode 100644 index 00000000..877cfc5b --- /dev/null +++ b/etc/logrotate.d/uwsgi @@ -0,0 +1,9 @@ +"/var/log/uwsgi/*.log" "/var/log/uwsgi/app/*.log" { + copytruncate + daily + rotate 5 + compress + delaycompress + missingok + notifempty +} -- 2.39.5