Is it possible to have the log level for [scrapy.core.engine] and [scrapy.extensions.logstats] to be 'INFO' as well as my custom logger and have everything else set to 'WARNING'? I'd like to do this to remove some of the clutter from my log file.
Thanks in advance!
EDIT:
I tried doing the following as described in this answer:
DEFAULT_LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'root': {'level': 'WARNING'},
'loggers': {
'twisted': {
'level': 'ERROR',
},
'scrapy.core.engine': {
'level': 'INFO',
},
'scrapy.extensions.logstats': {
'level': 'INFO',
},
}
}
Unfortunately, this doesn't work for some reason. The default 'Warning' level doesn't get applied to all loggers and the specified levels for the loggers above seem to have no effect...