fix: better log container start

This commit is contained in:
Roman 2025-03-11 03:14:39 +00:00
parent 948446e599
commit 74cd882963
No known key found for this signature in database
GPG Key ID: BB3828275C58EFF1
3 changed files with 3 additions and 2 deletions

View File

@ -67,6 +67,7 @@ class NomosCli:
command=cmd,
)
logger.info(f"Started container {self._container_name} from image {self._image_name}.")
DS.client_nodes.append(self)
match self._command:

View File

@ -74,6 +74,7 @@ class ProxyClient:
command=cmd,
)
logger.info(f"Started container {self._container_name} from image {self._image_name}.")
DS.client_nodes.append(self)
def set_rest_api(self):

View File

@ -78,8 +78,7 @@ class NomosNode:
name=self._container_name,
)
logger.debug(f"Started container from image {self._image_name}. " f"REST: {getattr(self, '_tcp_port', 'N/A')}")
logger.info(f"Started container {self._container_name} from image {self._image_name}. " f"REST: {getattr(self, '_tcp_port', 'N/A')}")
DS.nomos_nodes.append(self)
@retry(stop=stop_after_delay(5), wait=wait_fixed(0.1), reraise=True)