Python2.7 + uwsgi error internal server error

First of all, I had no problem running the project before. Then I updated the code and restart uwsgi as usual today. As a result, the access interface reported an error internal server error and checked it uwsgi.xml and uwsgi.log 、 error.log They didn’t find any problems, and then they went to stop uwsgi and started uwsgi again, and the problems appeared in the uwsgi.log Inside. It is due to compilation errors at the code level. If I don’t stop uwsgi and restart uwsgi, I will never get the error log. Therefore, I think there is a bug in the logging mechanism of uwsgi

Find the corresponding code error to solve, return to normal!

Read More: