Log merger job uuids

When a merger receives a job, log the uuid for better correlation
with the zuul server.

Change-Id: I589c0435b17ed4f85e33cc2049c88e695e20d764
This commit is contained in:
James E. Blair 2015-03-12 12:31:54 -07:00
parent b1afc8089f
commit e1fe0ef148
1 changed files with 2 additions and 2 deletions

View File

@ -90,10 +90,10 @@ class MergeServer(object):
job = self.worker.getJob()
try:
if job.name == 'merger:merge':
self.log.debug("Got merge job.")
self.log.debug("Got merge job: %s" % job.unique)
self.merge(job)
elif job.name == 'merger:update':
self.log.debug("Got update job.")
self.log.debug("Got update job: %s" % job.unique)
self.update(job)
else:
self.log.error("Unable to handle job %s" % job.name)