For all scrapy commands scrapy you can add --logfile NAME_OF_FILE to enter the file, for example
scrapy crawl someSpider -o some.json --logfile some.text
There are two other useful command line options for logging:
-L or --loglevel to control the registration level, e.g. -L INFO (default is DEBUG )
--nolog to completely disable logging
These commands are described here .
source share