Open yidao620c opened 1 year ago
https://www.xncoding.com/python/scrapy/scrapy-07.html
Scrapy使用Python内置的的日志系统来记录事件日志。 日志配置 1234567LOG_ENABLED = trueLOG_ENCODING = "utf-8"LOG_LEVEL = logging.INFOLOG_FILE = "log/spider.log"LOG_STDOUT = TrueLOG_FORMAT = "%(asctime)
https://www.xncoding.com/python/scrapy/scrapy-07.html
Scrapy使用Python内置的的日志系统来记录事件日志。 日志配置 1234567LOG_ENABLED = trueLOG_ENCODING = "utf-8"LOG_LEVEL = logging.INFOLOG_FILE = "log/spider.log"LOG_STDOUT = TrueLOG_FORMAT = "%(asctime)