Integrated logging from the utils repo

This commit is contained in:
Martyn Inglis
2016-01-07 15:39:36 +00:00
parent 30a5b771e2
commit ef8964284c
3 changed files with 5 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ from app.notify_client.api_client import AdminAPIClient
from app.its_dangerous_session import ItsdangerousSessionInterface
import app.proxy_fix
from config import configs
from utils import logging
db = SQLAlchemy()
@@ -31,6 +32,7 @@ def create_app(config_name):
db.init_app(application)
init_app(application)
init_csrf(application)
logging.init_app(application)
login_manager.init_app(application)
login_manager.login_view = 'main.render_sign_in'

View File

@@ -10,3 +10,5 @@ Flask-Login==0.2.11
Flask-Bcrypt==0.6.2
git+https://github.com/alphagov/notify-api-client.git@0.1.4#egg=notify-api-client==0.1.4
git+https://github.com/alphagov/notifications-utils.git@0.0.3#egg=notifications-utils==0.0.3

View File

@@ -1,3 +1,3 @@
#!/bin/bash
python app.py runserver
python3 app.py runserver