mirror of
https://github.com/containers/podman.git
synced 2025-05-20 08:36:23 +08:00
Merge pull request #13155 from myml/main
Fix: Do not print error when parsing journald log fails
This commit is contained in:
@ -226,7 +226,7 @@ func (c *Container) readFromJournal(ctx context.Context, options *logs.LogOption
|
|||||||
}
|
}
|
||||||
|
|
||||||
if formatError != nil {
|
if formatError != nil {
|
||||||
logrus.Errorf("Failed to parse journald log entry: %v", err)
|
logrus.Errorf("Failed to parse journald log entry: %v", formatError)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user