aboutsummaryrefslogtreecommitdiff
path: root/wqflask/runserver.py
diff options
context:
space:
mode:
authorPjotr Prins2016-06-18 07:45:07 +0000
committerPjotr Prins2016-06-18 07:45:07 +0000
commitee70713e9a296ac9a855c73c3f49f585bae8946a (patch)
tree9a22d8fac2273e55d5761741616ea1905a39bf09 /wqflask/runserver.py
parent3a59631a4a95f4b4a1911e3a10912cdcbdf31200 (diff)
downloadgenenetwork2-ee70713e9a296ac9a855c73c3f49f585bae8946a.tar.gz
Logger: introducing logging
Diffstat (limited to 'wqflask/runserver.py')
-rw-r--r--wqflask/runserver.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/runserver.py b/wqflask/runserver.py
index f40d8a48..bfc27827 100644
--- a/wqflask/runserver.py
+++ b/wqflask/runserver.py
@@ -20,7 +20,10 @@ from wqflask import app
#_ch = logging.StreamHandler()
#_log.addHandler(_ch)
-print app.config
+import utility.logger
+logger = utility.logger.getLogger(__name__ )
+
+logger.info(app.config)
from utility.tools import WEBSERVER_MODE