I\'ve implemented the solution proposed in Display the contents of a log file as it is updated.
This solution works when I run the my Flask application on localhost:8