Skip to content

Commit

Permalink
Cleanup minor issues (#39)
Browse files Browse the repository at this point in the history
* no keys are an empty set

* set loglevel
  • Loading branch information
jschlyter authored Dec 18, 2024
1 parent 97d1609 commit abda24b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nodeman/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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())

Expand Down

0 comments on commit abda24b

Please sign in to comment.