From 240c2db33b70b7d10a6bdd18e043fc0aa6766715 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 19 Apr 2015 11:04:31 +0200 Subject: Output configi --- wqflask/runserver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wqflask/runserver.py b/wqflask/runserver.py index 4ae91e64..5a76d1e2 100755 --- a/wqflask/runserver.py +++ b/wqflask/runserver.py @@ -18,6 +18,8 @@ from wqflask import app #_ch = logging.StreamHandler() #_log.addHandler(_ch) +print app.config + import logging file_handler = logging.FileHandler(app.config['LOGFILE']) file_handler.setLevel(logging.DEBUG) -- cgit v1.2.3