Skip to content

Commit

Permalink
Remove custom scheduler logger
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreso committed Aug 16, 2024
1 parent 710f56a commit 22099d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ert/ensemble_evaluator/_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
)

logger = logging.getLogger(__name__)
scheduler_logger = logging.getLogger("ert.scheduler")

_handle = Callable[..., Any]

Expand Down Expand Up @@ -251,7 +250,7 @@ async def _evaluate_inner( # pylint: disable=too-many-branches
ee_cert=self._config.cert,
ee_token=self._config.token,
)
scheduler_logger.info(
logger.info(
f"Experiment ran on ORCHESTRATOR: scheduler on {self._queue_config.queue_system} queue"
)

Expand All @@ -278,7 +277,7 @@ async def _evaluate_inner( # pylint: disable=too-many-branches
await cloudevent_unary_send(event_creator(EVTYPE_ENSEMBLE_FAILED, None))
return

scheduler_logger.info(
logger.info(
f"Experiment ran on QUEUESYSTEM: {self._queue_config.queue_system}"
)

Expand Down

0 comments on commit 22099d2

Please sign in to comment.