Improve merge client logging
When submitting a job to the mergers, log more information about
the job. Specifically the UUID will now be included for easier
cross-correlation with completion events.
Change-Id: Id92ae0c73f725da23761c59c97f0d39d64e802a9
diff --git a/zuul/merger/client.py b/zuul/merger/client.py
index 8d8f7ee..950c385 100644
--- a/zuul/merger/client.py
+++ b/zuul/merger/client.py
@@ -84,10 +84,10 @@
def submitJob(self, name, data, build_set,
precedence=zuul.model.PRECEDENCE_NORMAL):
uuid = str(uuid4().hex)
- self.log.debug("Submitting job %s with data %s" % (name, data))
job = gear.Job(name,
json.dumps(data),
unique=uuid)
+ self.log.debug("Submitting job %s with data %s" % (job, data))
self.build_sets[uuid] = build_set
self.gearman.submitJob(job, precedence=precedence,
timeout=300)