From 7d4e682244cb0042a5365771995ca201a6898068 Mon Sep 17 00:00:00 2001 From: Andreas Eknes Lie Date: Mon, 30 Sep 2024 14:19:26 +0200 Subject: [PATCH] Use info level and only when hosts are present --- src/ert/scheduler/scheduler.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ert/scheduler/scheduler.py b/src/ert/scheduler/scheduler.py index 8ad9b416e26..a51f56e6d75 100644 --- a/src/ert/scheduler/scheduler.py +++ b/src/ert/scheduler/scheduler.py @@ -308,8 +308,10 @@ async def _process_event_queue(self) -> None: # Any event implies the job has at least started job.started.set() - if isinstance(event, (StartedEvent, FinishedEvent)): - logger.warning(f"lsf exec_hosts: {event.exec_hosts}") + if isinstance(event, (StartedEvent, FinishedEvent)) and event.exec_hosts: + logger.info( + f"Realization {event.iens} was executed on host: {event.exec_hosts}" + ) if ( isinstance(event, FinishedEvent)