Error msg:
---Logging error---Traceback (most recent): File"/usr/lib/python3.6/logging/__init__.py", line 993,inchEmit msg=Self.format (record) File"/usr/lib/python3.6/logging/__init__.py", line 839,inchformatreturnFmt.format (record) File"/usr/lib/python3.6/logging/__init__.py", Line 579,inchformat S=Self.formatmessage (record) File"/usr/lib/python3.6/logging/__init__.py", line 548,inchFormatMessagereturnSelf._style.format (record) File"/usr/lib/python3.6/logging/__init__.py", Line 391,inchformatreturnSelf._fmt% record.__dict__TypeError: notEnough arguments forformat Stringcall stack:file"start.py", Line 7,inch<module>Engine (). Start () File"/home/hpcm/desktop/spider/13-frame_spider/myscrapy/core/engine.py", line 45,inchStart Logger.info ("End time is [{}]". Format (end)) Message:'End time is [2018-09-27 17:55:54.795786]'Arguments: ()
Problem:
Error in DEFAULT_LOG_FMT parameter used for LOG in setting
Solve:
Check if the parameter is incorrectly written, or if there are many fewer items
Typeerror:not enough arguments for format string