Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Use k8s-file log driver with podman
Browse files Browse the repository at this point in the history
As suggested in containers/podman#3363

Change-Id: I00d037100adbe1c052b64f244d852d46625aa9aa
Depends-On: https://review.opendev.org/666220
  • Loading branch information
rabi committed Jun 19, 2019
1 parent 01eb542 commit d1eef29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paunch/builder/podman.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def container_run_args(self, cmd, container):
if not os.path.exists(self.cont_log_path):
os.makedirs(self.cont_log_path)
log_path = os.path.join(self.cont_log_path, container)
logging = ['--log-driver', 'json-file',
logging = ['--log-driver', 'k8s-file',
'--log-opt', 'path=%s.log' % log_path]
cmd.extend(logging)
else:
Expand Down

0 comments on commit d1eef29

Please sign in to comment.