Log when things are all set up and ready
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
5926dd9ee6
commit
a25e830b8d
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue