MCPcopy
hub / github.com/scrapy/scrapy / _update_root_log_handler

Method _update_root_log_handler

scrapy/crawler.py:89–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

87 self.engine: ExecutionEngine | None = None
88
89 def _update_root_log_handler(self) -> None:
90 if get_scrapy_root_handler() is not None:
91 # scrapy root handler already installed: update it with new settings
92 install_scrapy_root_handler(self.settings)
93
94 def _apply_settings(self) -> None:
95 if self.settings.frozen:

Callers 3

__init__Method · 0.95
crawlMethod · 0.95
crawl_asyncMethod · 0.95

Calls 2

get_scrapy_root_handlerFunction · 0.90

Tested by

no test coverage detected