prettier logging pipeline output
closes
@@ -20,7 +20,7 @@ class DocumentersAggregatorLoggingPipeline(object):
turn on some kind of backend storage pipeline.
"""
def process_item(self, item, spider):
- spider.logger.warn('Processing {0}. Enable a database pipeline to save items.'.format(item.get('title', 'No title found')))
+ spider.logger.info('Processing {0} ({1}-{2}). Enable a database pipeline to save items.'.format(item.get('name'), spider.name, item.get('id')))
return item
