fix up the pungi logging by putting the arch in the log file name

This commit is contained in:
Dennis Gilmore 2015-03-12 17:29:59 -05:00
parent 07e90f0f96
commit 18d4d2ecf8

View File

@ -1372,7 +1372,7 @@ class Pungi(PungiBase):
cmd = ["lorax"]
cmd.extend(["--workdir", self.workdir])
cmd.extend(["--logfile", os.path.join(self.config.get('pungi', 'destdir'), 'logs/lorax.log')])
cmd.extend(["--logfile", os.path.join(self.config.get('pungi', 'destdir'), 'logs/lorax-%s.log' % (self.pungiconfig.get('pungi', 'arch')))])
try:
# Convert url method to a repo