Scrapy, a fast high-level web crawling & scraping framework for Python.
fix list alignment and line width
Anubhav Patele9cd4ee03aa4
diff --git a/scrapy/logformatter.py b/scrapy/logformatter.pyindex 17c69cba8..717120242 100644--- a/scrapy/logformatter.py+++ b/scrapy/logformatter.py@@ -19,19 +19,18 @@ class LogFormatter(object):Dictionary keys for the method outputs:- * ``level`` is the log level for that action, you can use those from the- `python logging library <https://docs.python.org/3/library/logging.html>`_ :- ``logging.DEBUG``, ``logging.INFO``, ``logging.WARNING``, ``logging.ERROR``- and ``logging.CRITICAL``.-- * ``msg`` should be a string that can contain different formatting placeholders. This string, formatted- with the provided ``args``, is going to be the long message for that action.-- * ``args`` should be a tuple or dict with the formatting placeholders for ``msg``. The final log message is- computed as ``msg % args``.-- Here is an example on how to create a custom log formatter to lower the severity level of the log message- when an item is dropped from the pipeline::+ * ``level`` is the log level for that action, you can use those from the+ `python logging library <https://docs.python.org/3/library/logging.html>`_ :+ ``logging.DEBUG``, ``logging.INFO``, ``logging.WARNING``, ``logging.ERROR``+ and ``logging.CRITICAL``.+ * ``msg`` should be a string that can contain different formatting placeholders.+ This string, formatted with the provided ``args``, is going to be the long message+ for that action.+ * ``args`` should be a tuple or dict with the formatting placeholders for ``msg``.+ The final log message is computed as ``msg % args``.++ Here is an example on how to create a custom log formatter to lower the severity level of+ the log message when an item is dropped from the pipeline::class PoliteLogFormatter(logformatter.LogFormatter):def dropped(self, item, exception, response, spider):