为什么在服务器上返回一个错误。在
我从heroku日志中得到的信息是:
heroku[router]: at=info method=GET path="/accounts/login/"
host=dagenssalg.herokuapp.com request_id=02ec11bf-ea26-4f98-
ab5a-270147167d42 fwd="87.57.162.154" dyno=web.1 connect=0ms
service=29ms status=500 bytes=234 protocol=https
调试设置为false:
^{pr2}$有没有办法显示错误的详细信息?在
编辑:
使用LogEntries应用程序作为这个问题:How do you diagnose a 500 error on Heroku when there is no error message in the logs?sugests不会改变任何东西,因为它获取的日志与Heroku日志相同。在
我的应用程序在Gunicorn上运行,程序文件如下:
web: gunicorn dagenssalg.wsgi --log-file -
有什么方法可以告诉Gunicorn把错误日志发送到哪里?在
谨致问候,克雷斯滕
目前没有回答
相关问题 更多 >
编程相关推荐