diff --git a/cylc/flow/task_events_mgr.py b/cylc/flow/task_events_mgr.py index 852b28f848e..6338f9cfe86 100644 --- a/cylc/flow/task_events_mgr.py +++ b/cylc/flow/task_events_mgr.py @@ -591,11 +591,10 @@ def process_message( itask, severity, message, event_time, flag, submit_num): return None + new_msg = f'{severity}:{message}' # always update the workflow state summary for latest message if flag == self.FLAG_POLLED: - new_msg = f'{message} {self.FLAG_POLLED}' - else: - new_msg = message + new_msg = f'{new_msg} {self.FLAG_POLLED}' self.data_store_mgr.delta_job_msg( itask.tokens.duplicate(job=str(submit_num)), new_msg