Skip to content

Commit

Permalink
Merge pull request #9317 from OpenMined/aziz/fix/logging
Browse files Browse the repository at this point in the history
fix logging
  • Loading branch information
abyesilyurt authored Sep 25, 2024
2 parents 0cbc457 + acbbb49 commit f56fe17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/syft/src/syft/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ def named(
consumer_type: ConsumerType | None = None,
db_url: str | None = None,
db_config: DBConfig | None = None,
log_level: int | None = None,
) -> Server:
uid = get_named_server_uid(name)
name_hash = hashlib.sha256(name.encode("utf8")).digest()
Expand Down Expand Up @@ -786,6 +787,7 @@ def named(
consumer_type=consumer_type,
db_url=db_url,
db_config=db_config,
log_level=log_level,
)

def is_root(self, credentials: SyftVerifyKey) -> bool:
Expand Down

0 comments on commit f56fe17

Please sign in to comment.