diff options
-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: |