Home  >  Q&A  >  body text

Scrapy LOG information output to file - Stack Overflow

How to output Scrapy LOG information to a file?

高洛峰高洛峰2669 days ago870

reply all(1)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-28 09:25:20

    Scrapy crawler FAQ summary

    Output LOG information to file

    Set LOG_FILE in settings.py.

    LOG_FILE="log.txt" #log信息输出到log.txt文件

    reply
    0
  • Cancelreply