Page 1 of 1

Enable error logging to browser for flask under Apache + mod_wsgi

Posted: 2018/09/13 12:51:21
by NikosThess
what are the exact steps i need to execute in order to enable error logging to browser so i don't check the error_log via console any more?

I'am using Flask under Apache + mod_wsgi.

If i place app.debug = True within my app it does not do anything.

from flask import Flask, request, redirect, render_template, url_for

application = Flask(__name__)

app = application
app.config['TESTING'] = True

[Moderator: moved from the "website" section as that is for reporting problems with the *CentOS* website not your own]