From 66a4d99cd6b2010515a52022df7bd628d7fdfa04 Mon Sep 17 00:00:00 2001 From: Keivan Ipchi Hagh Date: Thu, 21 Mar 2024 21:32:28 +0330 Subject: [PATCH] feat: update base_server logging --- src/rpc/base_server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rpc/base_server.py b/src/rpc/base_server.py index bc22849..de31fec 100644 --- a/src/rpc/base_server.py +++ b/src/rpc/base_server.py @@ -47,12 +47,14 @@ def __init__( self.health_servicer: health.HealthServicer self._configure_health_server(healthcheck_n_workers) + logger.debug(f"RPC initialized with {n_workers} worker(s).") + def start(self) -> None: """ Starts the server in blocking mode. """ - logger.debug(f"Listening on '{self.target}'") + logger.debug(f"RPC Listening on '{self.target}'") self.server.start() self.server.wait_for_termination()