mirror of https://github.com/containers/podman.git
oci.go: syslog: fix debug formatting
Signed-off-by: Valentin Rothberg <vrothberg@suse.com> Closes: #1242 Approved by: rhatdan
This commit is contained in:
parent
06fafe4cd0
commit
e9b23f7cca
|
@ -283,7 +283,7 @@ func (r *OCIRuntime) createOCIContainer(ctr *Container, cgroupParent string) (er
|
||||||
args = append(args, "--log-level", logLevel.String())
|
args = append(args, "--log-level", logLevel.String())
|
||||||
|
|
||||||
if logLevel == logrus.DebugLevel {
|
if logLevel == logrus.DebugLevel {
|
||||||
logrus.Debug("%s messages will be logged to syslog", r.conmonPath)
|
logrus.Debugf("%s messages will be logged to syslog", r.conmonPath)
|
||||||
args = append(args, "--syslog")
|
args = append(args, "--syslog")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue