From abda24b25289462e8d17c9dc9086dc2c2c087d0a Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Wed, 18 Dec 2024 13:02:16 +0100 Subject: [PATCH] Cleanup minor issues (#39) * no keys are an empty set * set loglevel --- nodeman/server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nodeman/server.py b/nodeman/server.py index 6ea53e8..99dd688 100644 --- a/nodeman/server.py +++ b/nodeman/server.py @@ -42,7 +42,7 @@ def __init__(self, settings: Settings): else: self.logger.info("Configured without OpenTelemetry") - self.trusted_jwks = [] + self.trusted_jwks = JWKSet() if filename := self.settings.nodes.trusted_jwks: try: with open(filename) as fp: @@ -161,6 +161,8 @@ def main() -> None: logging.basicConfig(level=logging.INFO) log_level = "info" + logging_config["root"]["level"] = log_level.upper() + logger.info("Starting Node Manager version %s", __verbose_version__) app = NodemanServer(settings=Settings())