summaryrefslogtreecommitdiff
path: root/conf/scrapy.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'conf/scrapy.logrotate')
-rw-r--r--conf/scrapy.logrotate10
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
+}
+