Undocumented
Class |
|
Record log levels count into a crawler stats |
Class |
|
Fake file-like stream object that redirects writes to a logger instance |
Class |
|
Keep only top level loggers's name (direct children from root) from records. |
Function | configure |
Initialize logging defaults for Scrapy. |
Function | failure |
Extract exc_info from Failure instances |
Function | get |
Undocumented |
Function | install |
Undocumented |
Function | log |
Undocumented |
Function | log |
Undocumented |
Function | logformatter |
Helper that takes the dictionary output from the methods in LogFormatter and adapts it into a tuple of positional arguments for logger.log calls, handling backward compatibility as well. |
Constant | DEFAULT |
Undocumented |
Variable | logger |
Undocumented |
Function | _get |
Return a log handler object according to settings |
Variable | _scrapy |
Undocumented |
Initialize logging defaults for Scrapy. :param settings: settings used to create and configure a handler for the root logger (default: None). :type settings: dict, :class:`~scrapy.settings.Settings` object or ``None`` :param install_root_handler: whether to install root logging handler (default: True) :type install_root_handler: bool This function does: - Route warnings and twisted logging through Python standard logging - Assign DEBUG and ERROR level to Scrapy and Twisted loggers respectively - Route stdout to log if LOG_STDOUT setting is True When ``install_root_handler`` is True (default), this function also creates a handler for the root logger according to given settings (see :ref:`topics-logging-settings`). You can override default options using ``settings`` argument. When ``settings`` is empty or None, defaults are used.
Helper that takes the dictionary output from the methods in LogFormatter and adapts it into a tuple of positional arguments for logger.log calls, handling backward compatibility as well.
Undocumented
Value |
|