Skip to content

Commit

Permalink
Log play of prepared task (#863)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Apr 17, 2024
1 parent 5b63fb5 commit 92f7702
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions osism/commands/apply.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,11 @@ def handle_role(
)
task = t.apply_async()

logger.info(f"Task {task.task_id} was prepared for execution.")
logger.info(f"Task {task.task_id} ({role}) was prepared for execution.")

if wait:
logger.info(
f"It takes a moment until task {task.task_id} has been started and output is visible here."
f"It takes a moment until task {task.task_id} ({role}) has been started and output is visible here."
)

if isinstance(task, GroupResult):
Expand Down

0 comments on commit 92f7702

Please sign in to comment.