Scrapy: how to disable or change log?
You can also use --nolog in command prompt.
> scrapy crawl myspider --nolog
--nolog command Sets LOG_ENABLED to False
see documentation scrapy command line options
You need to add the following to your settings.py
document:
LOG_LEVEL = 'INFO'
See the documentation.
You can also disable it completely with LOG_ENABLED=False
. And you can pass settings when invoking the command: scrapy crawl myspider -s LOG_ENABLED=False