mirror of https://github.com/scrapy/scrapy.git
Remove deprecated %z formatting from the default LOG_DATEFORMAT
This commit is contained in:
parent
f6ae78f4b1
commit
5cd0296a16
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue