From 122ca6211935039825aff900e98bc1fbdb4dc0d6 Mon Sep 17 00:00:00 2001 From: Vandenn Date: Thu, 2 May 2019 23:59:01 +0800 Subject: [PATCH] doc: update configure_logging docs to discourage use with CrawlerProcess --- docs/topics/logging.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/topics/logging.rst b/docs/topics/logging.rst index 8e280d929..dea0528db 100644 --- a/docs/topics/logging.rst +++ b/docs/topics/logging.rst @@ -238,9 +238,10 @@ scrapy.utils.log module .. autofunction:: configure_logging - ``configure_logging`` is automatically called when using Scrapy commands, - but needs to be called explicitly when running custom scripts. In that - case, its usage is not required but it's recommended. + ``configure_logging`` is automatically called when using Scrapy commands + or :class:`~scrapy.crawler.CrawlerProcess`, but needs to be called explicitly + when running custom scripts using :class:`~scrapy.crawler.CrawlerRunner`. + In that case, its usage is not required but it's recommended. If you plan on configuring the handlers yourself is still recommended you call this function, passing ``install_root_handler=False``. Bear in mind