Enable error logging to browser for flask under Apache + mod_wsgi

General support questions
Post Reply
NikosThess
Posts: 19
Joined: 2018/05/10 20:36:20

Enable error logging to browser for flask under Apache + mod_wsgi

Post by NikosThess » 2018/09/13 12:51:21

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]

Post Reply