Skip to content

Commit

Permalink
Use info level and only when hosts are present
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-el committed Sep 30, 2024
1 parent 7c08706 commit 7d4e682
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ert/scheduler/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d4e682

Please sign in to comment.