From dafeb613c69909540502a9631dd2769da3a6a2a1 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 27 Apr 2016 12:09:57 -0400 Subject: [PATCH] Pungi should log when it tries to publish notifications. Signed-off-by: Ralph Bean --- pungi/notifier.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pungi/notifier.py b/pungi/notifier.py index 0e059fb8..b0e27bbc 100644 --- a/pungi/notifier.py +++ b/pungi/notifier.py @@ -57,6 +57,8 @@ class PungiNotifier(object): self._update_args(kwargs) with self.lock: + self.compose.log_debug("Notification: %r %r, %r" % ( + self.cmd, msg, kwargs)) ret, _ = shortcuts.run((self.cmd, msg), stdin_data=json.dumps(kwargs), can_fail=True,