From 31ab41f2e97bfe996725ce9b421a0bd3e218ce7f Mon Sep 17 00:00:00 2001 From: Taras Terletskyi <888784+tropicoo@users.noreply.github.com> Date: Fri, 28 Jul 2023 23:25:08 +0300 Subject: [PATCH] Update log messages --- start.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.py b/start.py index 94ad5a2..f4d5230 100644 --- a/start.py +++ b/start.py @@ -93,11 +93,11 @@ async def is_port_open(host: str, port: int) -> bool: async def check_reachability(service: BaseService) -> None: while True: - print(f'Waiting for {service.name} to be reachable on port {service.port}') + print(f'[{service.name}] Waiting to be reachable on port {service.port}') if await is_port_open(host=service.host, port=service.port): break await asyncio.sleep(DEFAULT_SLEEP_TIME) - print(f'Connection to {service.name} on port {service.port} verified') + print(f'[{service.name}] Connection on port {service.port} verified') async def main() -> None: