From 219ffa60744e8b730f2aa2df11b8f4723b34402a Mon Sep 17 00:00:00 2001 From: Vitalii Solodilov Date: Mon, 3 Sep 2018 10:35:08 +0400 Subject: [PATCH] Minor improvement of the NoopPublisher A name is more human readable. Workflow and task always have a name. It's convenient when you play with notifications. Change-Id: I6fda6ea688a720605819545d2f86a1534bf1d480 Signed-off-by: Vitalii Solodilov --- mistral/notifiers/publishers/noop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mistral/notifiers/publishers/noop.py b/mistral/notifiers/publishers/noop.py index 799313b51..ea612b1e8 100644 --- a/mistral/notifiers/publishers/noop.py +++ b/mistral/notifiers/publishers/noop.py @@ -24,8 +24,9 @@ class NoopPublisher(base.NotificationPublisher): def publish(self, ex_id, data, event, timestamp, **kwargs): LOG.info( - 'The event %s for %s is published by the ' + 'The event %s for [name=%s, id=%s] is published by the ' 'noop notification publisher.', event, + data.get('name'), ex_id )