From d6a8f8e08047fc0196acf420886dcf91381b0150 Mon Sep 17 00:00:00 2001 From: Adw8 Date: Fri, 13 Sep 2024 12:59:42 +0530 Subject: [PATCH] Add logs --- .../deploy/webapp/deploy_webapp_from_registry.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py b/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py index aa3a4d8f..47334f63 100644 --- a/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py +++ b/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py @@ -623,12 +623,16 @@ def command( # noqa: C901 main_logger.log( f"Directing deployment logs to: {run_log_file_path}" ) + main_logger.log(f"Attempting to open: {run_log_file_path}") run_log_file = open(run_log_file_path, "wt") + main_logger.log("After opening log file") run_reg_client = LaconicRegistryClient( laconic_config, log_file=run_log_file ) + main_logger.log("After running registry client") build_logger = TimedLogger(run_id, run_log_file) + main_logger.log("After running timed logger") build_logger.log("Processing ...") process_app_deployment_request( ctx,