Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Enable error logging to browser for Python's Flask under Apache + mod_wsgi
#1
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
Quote
#2
Can anybody help me send error output to the browser? Its really annoying logging via ssh and checking error_log with 'tail -f' each time.....
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Running flask run produces error. Charles1 1 121 Oct-04-2019, 10:38 PM
Last Post: snippsat
  Access Flask Web App from External Browser - IIS fioranosnake 3 156 Sep-16-2019, 06:22 PM
Last Post: ndc85430
  mod_wsgi installation Code05 2 344 Jun-14-2019, 09:47 AM
Last Post: noisefloor
  [Flask] html error 405 SheeppOSU 0 255 Jun-08-2019, 04:42 PM
Last Post: SheeppOSU
  [flask] mail.send giving error SheeppOSU 2 284 May-31-2019, 09:31 PM
Last Post: SheeppOSU
  About Error (Flask) bescf 1 391 Mar-20-2019, 08:18 PM
Last Post: nilamo
  webdriver.remote to connect back existing browser without open new browser? gahhon 6 1,227 Feb-26-2019, 03:53 PM
Last Post: gahhon
  Flask Error-Could not build url for endpoint 'index'. Did you forget to specify value Prince_Bhatia 0 1,271 Feb-25-2019, 05:52 AM
Last Post: Prince_Bhatia
  Flask assertion error mebaysan 1 700 Feb-07-2019, 08:34 PM
Last Post: pascale
  Flask return http status code 200 but web browser not recive supernoobs 2 1,720 Dec-29-2018, 09:27 PM
Last Post: Unisoftdev

Forum Jump:


Users browsing this thread: 1 Guest(s)