From cd85e857aaa94e6ec69050e96606589350b0b9af Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Thu, 22 May 2025 16:13:23 -0700 Subject: [PATCH] stream logs in case of timeout --- arch/tools/cli/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/tools/cli/core.py b/arch/tools/cli/core.py index 47590f2f..59d42ab4 100644 --- a/arch/tools/cli/core.py +++ b/arch/tools/cli/core.py @@ -103,6 +103,7 @@ def start_arch(arch_config_file, env, log_timeout=120, foreground=False): # Check if timeout is reached if elapsed_time > log_timeout: log.info(f"stopping log monitoring after {log_timeout} seconds.") + stream_gateway_logs(follow=False) sys.exit(1) if prompt_gateway_health_check_status or llm_gateway_health_check_status: