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
  Where is mod_wsgi for Apache on Windows? jfha73 0 353 May-01-2020, 02:21 PM
Last Post: jfha73
  How to resolve a 401 error, when the credentials work fine in a browser PyCurious 4 194 Apr-21-2020, 08:05 PM
Last Post: PyCurious
  Django deployment on apache server? tmmaersk 2 210 Mar-28-2020, 03:35 PM
Last Post: tmmaersk
  enable flash using selenium chromedriver Fre3k 0 672 Feb-01-2020, 11:05 AM
Last Post: Fre3k
  Running flask run produces error. Charles1 1 506 Oct-04-2019, 10:38 PM
Last Post: snippsat
  Access Flask Web App from External Browser - IIS fioranosnake 3 447 Sep-16-2019, 06:22 PM
Last Post: ndc85430
  mod_wsgi installation Code05 2 775 Jun-14-2019, 09:47 AM
Last Post: noisefloor
  [Flask] html error 405 SheeppOSU 0 494 Jun-08-2019, 04:42 PM
Last Post: SheeppOSU
  [flask] mail.send giving error SheeppOSU 2 500 May-31-2019, 09:31 PM
Last Post: SheeppOSU
  About Error (Flask) bescf 1 647 Mar-20-2019, 08:18 PM
Last Post: nilamo

Forum Jump:


Users browsing this thread: 1 Guest(s)