Additional debug logging.

This commit is contained in:
2019-01-16 12:35:03 +01:00
parent 03f01744a7
commit 771676a03d

5
app.py
View File

@@ -1,5 +1,7 @@
import functools
import logging
import os
from flask import Flask, g, render_template, request, redirect, session
import db
@@ -8,6 +10,9 @@ import models
logging.basicConfig(filename='estus-shots.log', level=logging.DEBUG)
logging.info(f'Starting with working dir: {os.getcwd()}')
logging.info(f'App file location: {os.path.abspath(__file__)}')
app = Flask(__name__)
app.secret_key = 'THIS IS A TEST KEY'