From 92f7702e1e67878e4de625886e427ae914b36d19 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Wed, 17 Apr 2024 13:51:45 +0200 Subject: [PATCH] Log play of prepared task (#863) Signed-off-by: Christian Berendt --- osism/commands/apply.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/osism/commands/apply.py b/osism/commands/apply.py index 7679d9d8..a8d2c7d2 100644 --- a/osism/commands/apply.py +++ b/osism/commands/apply.py @@ -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):