From 7436b1bac461a6bf71f4329b49d26ee5740ae3ee Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 9 Aug 2019 20:03:36 +0200 Subject: Configure scrapy log --- conf/scrapy.logrotate | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 conf/scrapy.logrotate (limited to 'conf/scrapy.logrotate') diff --git a/conf/scrapy.logrotate b/conf/scrapy.logrotate new file mode 100644 index 0000000..54affd7 --- /dev/null +++ b/conf/scrapy.logrotate @@ -0,0 +1,10 @@ +"/var/log/scrapy/*.log" { + copytruncate + daily + rotate 5 + compress + delaycompress + missingok + notifempty +} + -- cgit v1.2.3