I\'ve decided to use the Python logging module because the messages generated by Twisted on std error is too long, and I want to INFO level meaningful messages such
INFO
You want to use the ScrapyFileLogObserver.
import logging from scrapy.log import ScrapyFileLogObserver logfile = open('testlog.log', 'w') log_observer = ScrapyFileLogObserver(logfile, level=logging.DEBUG) log_observer.start()
I'm glad you asked this question, I've been wanting to do this myself.