I am having trouble with logging in scrapy, and most of what I can find is out of date.
I have set LOG_FILE=\"log.txt\" in the settings.py
LOG_FILE=\"log.txt\"
settings.py
I was unable to make @Rafael Almeda's solution work until I added the following to the import section of my spider.py code:
from scrapy.utils.log import configure_logging