Remove deprecated %z formatting from the default LOG_DATEFORMAT

This commit is contained in:
Julia Medina 2015-06-04 03:51:48 +08:00 committed by Daniel Graña
parent f6ae78f4b1
commit 5cd0296a16
2 changed files with 2 additions and 2 deletions

View File

@ -629,7 +629,7 @@ placeholders.
LOG_DATEFORMAT
--------------
Default: ``'%Y-%m-%d %H:%M:%S%z'``
Default: ``'%Y-%m-%d %H:%M:%S'``
String for formatting date/time, expansion of the ``%(asctime)s`` placeholder
in :setting:`LOG_FORMAT`. Refer to the `Python datetime documentation`_ for the whole list of available

View File

@ -168,7 +168,7 @@ LOG_ENABLED = True
LOG_ENCODING = 'utf-8'
LOG_FORMATTER = 'scrapy.logformatter.LogFormatter'
LOG_FORMAT = '%(asctime)s [%(name)s] %(levelname)s: %(message)s'
LOG_DATEFORMAT = '%Y-%m-%d %H:%M:%S%z'
LOG_DATEFORMAT = '%Y-%m-%d %H:%M:%S'
LOG_STDOUT = False
LOG_LEVEL = 'DEBUG'
LOG_FILE = None