Merge pull request #13155 from myml/main

Fix: Do not print error when parsing journald log fails
This commit is contained in:
OpenShift Merge Robot
2022-02-07 08:20:17 -05:00
committed by GitHub

View File

@ -226,7 +226,7 @@ func (c *Container) readFromJournal(ctx context.Context, options *logs.LogOption
}
if formatError != nil {
logrus.Errorf("Failed to parse journald log entry: %v", err)
logrus.Errorf("Failed to parse journald log entry: %v", formatError)
return
}