Merge "Add missing extension to the log file"

This commit is contained in:
Zuul 2019-03-26 15:07:01 +00:00 committed by Gerrit Code Review
commit f0c0c8e8a6
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class PodmanBuilder(base.BaseBuilder):
os.makedirs(self.cont_log_path)
log_path = os.path.join(self.cont_log_path, container)
logging = ['--log-driver', 'json-file',
'--log-opt', 'path=%s' % log_path]
'--log-opt', 'path=%s.log' % log_path]
cmd.extend(logging)
else:
raise ValueError('cont_log_path passed but not absolute.')