Where can I check tornado's log file?

前端 未结 4 618
旧巷少年郎
旧巷少年郎 2020-12-28 20:57

I think there was a default log file, but I didn\'t find it yet.

Sometimes the HTTP request process would throw an exception on the screen, but I suggest it also goe

4条回答
  •  渐次进展
    2020-12-28 21:00

    There's no logfile by default.

    You can use the --log_file_prefix=PATH command line option to set one.

    Tornado just uses the Python stdlib's logging module, if you're trying to do anything more complicated.

提交回复
热议问题