summaryrefslogtreecommitdiff
path: root/commonnet/scrapy_setting.py
diff options
context:
space:
mode:
Diffstat (limited to 'commonnet/scrapy_setting.py')
-rw-r--r--commonnet/scrapy_setting.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/commonnet/scrapy_setting.py b/commonnet/scrapy_setting.py
index 0d0f15b..31bba15 100644
--- a/commonnet/scrapy_setting.py
+++ b/commonnet/scrapy_setting.py
@@ -29,6 +29,8 @@ SCRAPPY_SETTINGS = {
# Disable Telnet Console (enabled by default)
"TELNETCONSOLE_ENABLED": False,
+ "LOG_FILE": "/var/log/scrapy/commonnet.log",
+
# Override the default request headers:
#DEFAULT_REQUEST_HEADERS = {
# 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',