code: def handle_logging(self):
          
  
          configure_logging(self.get_scrapy_options())
  
          # Disable duplicates
          self.__scrapy_options["LOG_ENABLED"] = False
  
          # Now, after log-level is correctly set, lets log them.
          for msg in self.log_output:
              if msg["level"] is "error":
                  self.log.error(msg["msg"])
              elif msg["level"] is "info":
                  self.log.info(msg["msg"])
              elif msg["level"] is "debug":
                  self.log.debug(msg["msg"])
docs: To allow devs to log as early as possible, logging will already be
          handled here