aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/__init__.py')
-rw-r--r--gn2/wqflask/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/__init__.py b/gn2/wqflask/__init__.py
index f85454ba..3744db50 100644
--- a/gn2/wqflask/__init__.py
+++ b/gn2/wqflask/__init__.py
@@ -70,7 +70,7 @@ def parse_ssl_key(app: Flask, keyconfig: str):
def dev_loggers(appl: Flask) -> None:
"""Default development logging."""
formatter = logging.Formatter(
- fmt="[%(asctime)s] %(levelname)s in %(module)s: %(message)s")
+ fmt="[%(asctime)s] %(levelname)s [%(thread)d -- %(threadName)s] in %(module)s: %(message)s")
stderr_handler = logging.StreamHandler(stream=sys.stderr)
stderr_handler.setFormatter(formatter)
appl.logger.addHandler(stderr_handler)