mirror of https://github.com/scrapy/scrapy.git
dump stats to log by default (ie. change default value of STATS_DUMP to True)
This commit is contained in:
parent
315457c2ef
commit
accb6ed830
|
|
@ -905,11 +905,13 @@ or subclass the StatsCollector class).
|
|||
STATS_DUMP
|
||||
----------
|
||||
|
||||
Default: ``False``
|
||||
Default: ``True``
|
||||
|
||||
Dump (to log) domain-specific stats collected when a domain is closed, and all
|
||||
global stats when the Scrapy process finishes (ie. when the engine is
|
||||
shutdown).
|
||||
Dump (to the Scrapy log) the :ref:`Scrapy stats <topics-stats>` collected
|
||||
during the crawl. The spider-specific stats are logged when the spider is
|
||||
closed, while the global stats are dumped when the Scrapy process finishes.
|
||||
|
||||
For more info see: :ref:`topics-stats`.
|
||||
|
||||
.. setting:: STATS_ENABLED
|
||||
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ SQS_REGION = 'us-east-1'
|
|||
|
||||
STATS_CLASS = 'scrapy.statscol.MemoryStatsCollector'
|
||||
STATS_ENABLED = True
|
||||
STATS_DUMP = False
|
||||
STATS_DUMP = True
|
||||
|
||||
STATS_SDB_DOMAIN = 'scrapy_stats'
|
||||
STATS_SDB_ASYNC = False
|
||||
|
|
|
|||
Loading…
Reference in New Issue