code: def setup_scrapy():
      
  
      def replace_configure_logging(install_root_handler=False, settings=None):
          fake_use(install_root_handler)
          fake_use(settings)
  
      def replace_log_scrapy_info(settings=None):
          fake_use(settings)
  
      # scrapy stuff
      import scrapy.utils.log  # for configure_logging
      import scrapy.crawler  # configure_logging, log_scrapy_info
      logging_settings = {
          'LOG_ENABLED': False,
          'LOG_LEVEL': logging.WARN,
      }
      scrapy.utils.log.configure_logging(install_root_handler=False, settings=logging_settings)
      # are you watching closely?!?
      scrapy.crawler.configure_logging = replace_configure_logging
      scrapy.crawler.log_scrapy_info = replace_log_scrapy_info
docs: This is not needed as we pass 'LOG_ENABLED':False to scrapy at init time