From a25e830b8d53347f46708d73f1dd9143d7db2fb2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 1 May 2020 15:02:25 +0200 Subject: [PATCH] Log when things are all set up and ready Signed-off-by: Pierre-Yves Chibon --- mirror_from_pagure_bus.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mirror_from_pagure_bus.py b/mirror_from_pagure_bus.py index f8022bc..82db9b7 100644 --- a/mirror_from_pagure_bus.py +++ b/mirror_from_pagure_bus.py @@ -70,6 +70,8 @@ class MirrorFromPagure(object): if not os.path.exists(self.path): raise OSError("No folder %s found on disk" % self.path) + _log.info("Ready to consume and trigger on %s", self.trigger_names) + def __call__(self, message, cnt=0): """ Invoked when a message is received by the consumer.