Improve debug logging level

This commit is contained in:
Yax 2016-05-09 13:12:14 +02:00
parent 46bdd10921
commit 881c525ae9

View file

@ -65,7 +65,6 @@ cors = CORS(app, resources={r"/comments/*": {"origins": "*"}})
# tune logging level
if not config.DEBUG:
logging.getLogger('flask_cors').level = logging.WARNING
logging.getLogger('app.cors').level = logging.WARNING
logging.getLogger('werkzeug').level = logging.WARNING