I added an app.logger.error('test') inside my @app.before_request and noticed that there are up to 8 lines of test in my log per request, even if it’s just abort(500). I just can’t seem to find out why, what could cause this?
I added an app.logger.error(‘test’) inside my @app.before_request and noticed that there are up to
Share
If you run with
app.debug = Trueand serve media files (images, css, js etc.) from Flask, they also count as full requests. If that is not the case, then please provide some more information about your setup.