From 240ceba2e8343d16b138e09a3e27f04a83453cb5 Mon Sep 17 00:00:00 2001 From: Apple Date: Tue, 2 Dec 2025 07:05:54 -0800 Subject: [PATCH] debug(node2): Change logging to WARNING level for router_healthy --- services/city-service/routes_city.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/city-service/routes_city.py b/services/city-service/routes_city.py index bd38c230..5683bf21 100644 --- a/services/city-service/routes_city.py +++ b/services/city-service/routes_city.py @@ -4580,7 +4580,7 @@ async def get_dagi_router_agents(node_id: str): router_healthy_raw = metrics.get("router_healthy") if router_healthy_raw is not None: router_healthy = bool(router_healthy_raw) - logger.info(f"[{node_id}] Using router_healthy from node_cache: {router_healthy} (raw: {router_healthy_raw})") + logger.warning(f"[{node_id}] Using router_healthy from node_cache: {router_healthy} (raw: {router_healthy_raw})") else: logger.debug(f"[{node_id}] router_healthy is None in node_cache") else: @@ -4612,7 +4612,7 @@ async def get_dagi_router_agents(node_id: str): router_healthy = False logger.warning(f"[{node_id}] router_healthy is None after all checks, defaulting to False") - logger.info(f"[{node_id}] Final router_healthy value: {router_healthy}") + logger.warning(f"[{node_id}] Final router_healthy value: {router_healthy}") # Get agents from DB for this node try: