Skip to content

Commit

Permalink
Merge pull request containers#13155 from myml/main
Browse files Browse the repository at this point in the history
Fix: Do not print error when parsing journald log fails
  • Loading branch information
openshift-merge-robot authored Feb 7, 2022
2 parents ab4af50 + 44fb431 commit f6b0abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpod/container_log_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit f6b0abf

Please sign in to comment.