From a8192b71aab34f62cdc2bc5d8888519319e735cc Mon Sep 17 00:00:00 2001 From: Jonathan Karlsen <107626001+jonathan-eq@users.noreply.github.com> Date: Fri, 5 Jan 2024 09:04:46 +0100 Subject: [PATCH] Remove duplicate logging in scheduler job (#6902) --- src/ert/scheduler/job.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ert/scheduler/job.py b/src/ert/scheduler/job.py index e69c82aa3bc..70b46afff17 100644 --- a/src/ert/scheduler/job.py +++ b/src/ert/scheduler/job.py @@ -155,9 +155,6 @@ async def __call__( elif attempt < max_submit - 1: message = f"Realization: {self.iens} failed, resubmitting" logger.warning(message) - else: - message = f"Realization {self.iens} failed after {max_submit} attempt(s)" - logger.error(message) async def _max_runtime_task(self) -> None: assert self.real.max_runtime is not None