Where is my flask error log located?

April 22, 2017 10.9k views
Apache Logging Ubuntu 16.04

I get an 500 Inernal Server Error from apache when visiting my flask website. Where can i find the server error log from Flask?

2 Answers

The error log from flask should be redirected to your apache error log, check /var/log/apache/error.log for more info.

I know this is an old post, however it would be valuable information potentially for the next person.

I have always found my logs for flask app at:

/var/log/daemon.log

Found nginx access logs and status codes at:

/var/log/nginx/error.log
Have another answer? Share your knowledge.