diff options
author | Pjotr Prins | 2016-06-21 10:16:54 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-06-21 10:16:54 +0000 |
commit | c96dcddc4e8ef33c39bf849cb89cd296dd4aa100 (patch) | |
tree | ab58cdcf4189171198325e12a6103c22b7c7ac94 /wqflask/utility | |
parent | 9bf8923f05b8f2f2edf2620cc7648094d63df5d9 (diff) | |
download | genenetwork2-c96dcddc4e8ef33c39bf849cb89cd296dd4aa100.tar.gz |
logger: add format field (reserve)
Diffstat (limited to 'wqflask/utility')
-rw-r--r-- | wqflask/utility/logger.py | 2 | ||||
-rw-r--r-- | wqflask/utility/tools.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/utility/logger.py b/wqflask/utility/logger.py index d1324dd5..556a265c 100644 --- a/wqflask/utility/logger.py +++ b/wqflask/utility/logger.py @@ -29,7 +29,7 @@ import logging import string from inspect import isfunction -from utility.tools import LOG_LEVEL, LOG_SQL +from utility.tools import LOG_LEVEL, LOG_SQL, LOG_FORMAT class GNLogger: """A logger class with some additional functionality, such as diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py index 0df471fc..c467fa74 100644 --- a/wqflask/utility/tools.py +++ b/wqflask/utility/tools.py @@ -173,6 +173,7 @@ LOG_LEVEL_DEBUG = get_setting_int('LOG_LEVEL_DEBUG') LOG_SQL = get_setting_bool('LOG_SQL') LOG_SQLALCHEMY = get_setting_bool('LOG_SQLALCHEMY') LOG_BENCH = get_setting_bool('LOG_BENCH') +LOG_FORMAT = "%(message)s" # not yet in use USE_REDIS = get_setting_bool('USE_REDIS') USE_GN_SERVER = get_setting_bool('USE_GN_SERVER') |