diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-08-09 20:03:36 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-08-09 20:03:36 +0200 |
commit | 7436b1bac461a6bf71f4329b49d26ee5740ae3ee (patch) | |
tree | 478fe27f4c2d1adfd1739d748c72ae68c9d1246e /conf | |
parent | 507e0ce240f739a1d4580405ce2d189390c9f68b (diff) | |
download | Comm-on-net-7436b1bac461a6bf71f4329b49d26ee5740ae3ee.tar.bz2 Comm-on-net-7436b1bac461a6bf71f4329b49d26ee5740ae3ee.zip |
Configure scrapy log
Diffstat (limited to 'conf')
-rw-r--r-- | conf/scrapy.logrotate | 10 |
1 files changed, 10 insertions, 0 deletions
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 +} + |