mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Merge pull request #18887 from Luap99/conmon-syslog
libpod: make conmon always log to syslog
This commit is contained in:
@ -1387,10 +1387,8 @@ func (r *ConmonOCIRuntime) sharedConmonArgs(ctr *Container, cuuid, bundlePath, p
|
||||
logLevel := logrus.GetLevel()
|
||||
args = append(args, "--log-level", logLevel.String())
|
||||
|
||||
if logLevel == logrus.DebugLevel {
|
||||
logrus.Debugf("%s messages will be logged to syslog", r.conmonPath)
|
||||
args = append(args, "--syslog")
|
||||
}
|
||||
logrus.Debugf("%s messages will be logged to syslog", r.conmonPath)
|
||||
args = append(args, "--syslog")
|
||||
|
||||
size := r.logSizeMax
|
||||
if ctr.config.LogSize > 0 {
|
||||
|
Reference in New Issue
Block a user