oci.go: syslog: fix debug formatting

Signed-off-by: Valentin Rothberg <vrothberg@suse.com>

Closes: #1242
Approved by: rhatdan
This commit is contained in:
Valentin Rothberg 2018-08-09 13:35:58 +02:00 committed by Atomic Bot
parent 06fafe4cd0
commit e9b23f7cca
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ func (r *OCIRuntime) createOCIContainer(ctr *Container, cgroupParent string) (er
args = append(args, "--log-level", logLevel.String())
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")
}