Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

disable log on version command. closes #1426

Pablo Hoffman75cd056223a5
diff --git a/scrapy/commands/version.py b/scrapy/commands/version.py
index 81433a657..4bf085c9e 100644
--- a/scrapy/commands/version.py
+++ b/scrapy/commands/version.py
@@ -11,6 +11,8 @@ from scrapy.commands import ScrapyCommand
class Command(ScrapyCommand):
+ default_settings = {'LOG_ENABLED': False}
+
def syntax(self):
return "[-v]"