diff options
author | Pjotr Prins | 2016-06-18 07:45:07 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-06-18 07:45:07 +0000 |
commit | ee70713e9a296ac9a855c73c3f49f585bae8946a (patch) | |
tree | 9a22d8fac2273e55d5761741616ea1905a39bf09 /wqflask/runserver.py | |
parent | 3a59631a4a95f4b4a1911e3a10912cdcbdf31200 (diff) | |
download | genenetwork2-ee70713e9a296ac9a855c73c3f49f585bae8946a.tar.gz |
Logger: introducing logging
Diffstat (limited to 'wqflask/runserver.py')
-rw-r--r-- | wqflask/runserver.py | 5 |
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 |