Where is my flask error log located?

Posted April 22, 2017 30.8k views
ApacheLoggingUbuntu 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?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

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:


Found nginx access logs and status codes at:


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