diff --git a/app.py b/app.py index 3e23cd2..1cc655f 100644 --- a/app.py +++ b/app.py @@ -2,13 +2,16 @@ import fcntl import hmac import json import logging +import logging.config import os from flask import (Flask, request, jsonify, abort, render_template) from ltsdb_json import LTS -logging.basicConfig(level=logging.DEBUG) +import config + +logging.config.dictConfig(config.logging) app = Flask(__name__)