diff options
author | Frederick Muriuki Muriithi | 2024-04-24 06:41:59 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-24 06:41:59 +0300 |
commit | 612a729a4b6cd8e93602a15916c479c53c1cd2d7 (patch) | |
tree | f00c3f43b8b16ed0534787dff9316eaf5821e174 /gn2 | |
parent | 2af5b44537711c1f9d6bde9807f0eda515ffe30e (diff) | |
download | genenetwork2-612a729a4b6cd8e93602a15916c479c53c1cd2d7.tar.gz |
Use app's logger rather than root logger.
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/__init__.py b/gn2/wqflask/__init__.py index b42b45f1..4dee4fea 100644 --- a/gn2/wqflask/__init__.py +++ b/gn2/wqflask/__init__.py @@ -60,7 +60,7 @@ def parse_ssl_key(app: Flask, keyconfig: str): """Parse key file paths into objects""" keypath = app.config.get(keyconfig, "").strip() if not bool(keypath): - logging.error(f"Expected configuration '{keyconfig}'") + app.logger.error("Expected configuration '%s'", keyconfig) return with open(keypath) as _sslkey: |