Merge "[stein-only] Use delegate name for podman logger" into stable/stein
This commit is contained in:
commit
26eb9c342d
|
@ -50,7 +50,7 @@ class PodmanBuilder(base.BaseBuilder):
|
||||||
|
|
||||||
if not os.path.exists(self.cont_log_path):
|
if not os.path.exists(self.cont_log_path):
|
||||||
os.makedirs(self.cont_log_path)
|
os.makedirs(self.cont_log_path)
|
||||||
log_path = os.path.join(self.cont_log_path, container)
|
log_path = os.path.join(self.cont_log_path, delegate)
|
||||||
logging = ['--log-driver', 'json-file',
|
logging = ['--log-driver', 'json-file',
|
||||||
'--log-opt', 'path=%s.log' % log_path]
|
'--log-opt', 'path=%s.log' % log_path]
|
||||||
cmd.extend(logging)
|
cmd.extend(logging)
|
||||||
|
|
Loading…
Reference in New Issue