aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2016-06-18 09:28:57 +0000
committerPjotr Prins2016-06-18 09:28:57 +0000
commit574aee1d78d1633249cc359e8d91075762365074 (patch)
tree8816f09fbbb167c4799614a49e0c25a3fb5813b8
parent2ff42298b0a7aef2134e33257c3d2985d2926cf4 (diff)
downloadgenenetwork2-574aee1d78d1633249cc359e8d91075762365074.tar.gz
Logger
-rw-r--r--wqflask/base/webqtlCaseData.py4
-rw-r--r--wqflask/wqflask/do_search.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/base/webqtlCaseData.py b/wqflask/base/webqtlCaseData.py
index 411b0d24..23f893fc 100644
--- a/wqflask/base/webqtlCaseData.py
+++ b/wqflask/base/webqtlCaseData.py
@@ -24,7 +24,9 @@
#
# Last updated by GeneNetwork Core Team 2010/10/20
-print("Mr. Mojo Risin 2")
+from utility.logger import getLogger
+logger = getLogger(__name__)
+logger.info("Mr. Mojo Risin 2")
class webqtlCaseData(object):
"""one case data in one trait"""
diff --git a/wqflask/wqflask/do_search.py b/wqflask/wqflask/do_search.py
index 48212877..76bb15b2 100644
--- a/wqflask/wqflask/do_search.py
+++ b/wqflask/wqflask/do_search.py
@@ -14,7 +14,7 @@ from dbFunction import webqtlDatabaseFunction
import logging
from utility.logger import getLogger
-logger = getLogger(__name__ , level = logging.INFO)
+logger = getLogger(__name__)
class DoSearch(object):
"""Parent class containing parameters/functions used for all searches"""