summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-02-07 08:20:17 -0500
committerGitHub <noreply@github.com>2022-02-07 08:20:17 -0500
commitf6b0abfa8a6604ec18b22da787f7edc67eb99fe5 (patch)
tree9f91bbdb21f749035b3e53be0e497876fcaf949f
parentab4af502b3f60f891192356eddaa13092f785612 (diff)
parent44fb431a3ced04c6b9e5d05dd7601dc5d2c9159b (diff)
downloadpodman-f6b0abfa8a6604ec18b22da787f7edc67eb99fe5.tar.gz
podman-f6b0abfa8a6604ec18b22da787f7edc67eb99fe5.tar.bz2
podman-f6b0abfa8a6604ec18b22da787f7edc67eb99fe5.zip
Merge pull request #13155 from myml/main
Fix: Do not print error when parsing journald log fails
-rw-r--r--libpod/container_log_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_log_linux.go b/libpod/container_log_linux.go
index 6b7cb4aa6..6150973ca 100644
--- a/libpod/container_log_linux.go
+++ b/libpod/container_log_linux.go
@@ -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
}