diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-01-30 06:23:58 +0100 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-02-03 19:49:14 +0000 |
commit | 095aaaa639ab57c594bb80bfefbfaed2a2fdff92 (patch) | |
tree | 55db4600d1fe284fb591ee810d490b179afe16ad /libpod/oci.go | |
parent | 6ba6ecf59b9204d36388de07b866f157a4d13957 (diff) | |
download | podman-095aaaa639ab57c594bb80bfefbfaed2a2fdff92.tar.gz podman-095aaaa639ab57c594bb80bfefbfaed2a2fdff92.tar.bz2 podman-095aaaa639ab57c594bb80bfefbfaed2a2fdff92.zip |
Allow users to specify logpath
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #135
Approved by: mheon
Diffstat (limited to 'libpod/oci.go')
-rw-r--r-- | libpod/oci.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci.go b/libpod/oci.go index 155b23640..4183267b8 100644 --- a/libpod/oci.go +++ b/libpod/oci.go @@ -174,7 +174,7 @@ func (r *OCIRuntime) createContainer(ctr *Container, cgroupParent string) (err e args = append(args, "-r", r.path) args = append(args, "-b", ctr.bundlePath()) args = append(args, "-p", filepath.Join(ctr.state.RunDir, "pidfile")) - args = append(args, "-l", ctr.logPath()) + args = append(args, "-l", ctr.LogPath()) args = append(args, "--exit-dir", r.exitsDir) args = append(args, "--socket-dir-path", r.socketsDir) if ctr.config.Spec.Process.Terminal { |