当前位置:首页 - Linux

flask程序线上报500错误,如何配置查看uwsgi日志

作者:高景洋 日期:2021-11-02 19:05:52 浏览次数:1253
配置uwsgi的日志
[uwsgi]

daemonize = /var/log/uwsgi.log


vi /var/log/uwsgi.log 即可查看uwsgi日志

本文永久性链接:
<a href="http://r4.com.cn/art203.aspx">flask程序线上报500错误,如何配置查看uwsgi日志</a>
当前header:Host: r4.com.cn X-Host1: r4.com.cn X-Host2: r4.com.cn X-Host3: 127.0.0.1:8080 X-Forwarded-For: 52.14.204.52 X-Real-Ip: 52.14.204.52 X-Domain: r4.com.cn X-Request: GET /art203.aspx HTTP/1.1 X-Request-Uri: /art203.aspx Connection: close Accept: */* User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) Accept-Encoding: gzip, br, zstd, deflate