Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Change log level to error

BroodingKangarooa7d070f3bb35
diff --git a/scrapy/extensions/feedexport.py b/scrapy/extensions/feedexport.py
index cc26ae173..ce7fc372d 100644
--- a/scrapy/extensions/feedexport.py
+++ b/scrapy/extensions/feedexport.py
@@ -364,7 +364,7 @@ class FeedExporter:
"""
if not self.storage_batch_item_count or '%(batch_time)s' in uri or '%(batch_id)s' in uri:
return True
- logger.warning('%(batch_time)s or %(batch_id)s must be in uri if FEED_STORAGE_BATCH_ITEM_COUNT setting is specified')
+ logger.error('%(batch_time)s or %(batch_id)s must be in uri if FEED_STORAGE_BATCH_ITEM_COUNT setting is specified')
return False
def _storage_supported(self, uri):