aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/utility/logger.py2
-rw-r--r--wqflask/utility/tools.py1
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')