From a48eb0551a4da5e1b864efb2ba13384832cfd59b Mon Sep 17 00:00:00 2001 From: Michael Thornton Date: Mon, 2 Dec 2024 13:08:26 -0800 Subject: [PATCH] update logging --- nmdc_automation/workflow_automation/watch_nmdc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmdc_automation/workflow_automation/watch_nmdc.py b/nmdc_automation/workflow_automation/watch_nmdc.py index 51d5b3da..68bfd3a3 100644 --- a/nmdc_automation/workflow_automation/watch_nmdc.py +++ b/nmdc_automation/workflow_automation/watch_nmdc.py @@ -278,7 +278,7 @@ def process_failed_job(self, job: WorkflowJob) -> Optional[str]: job.workflow.state["failed_count"] = job.workflow.state.get("failed_count", 0) + 1 job.workflow.state["last_status"] = job.job_status self.save_checkpoint() - logger.error(f"Job {job.opid} failed {job.workflow.state['failed_count']} times. Retrying.") + logger.info(f"Job {job.opid} failed {job.workflow.state['failed_count']} times. Retrying.") jobid = job.job.submit_job() return jobid