Merge pull request #9728 from gyuho/journald

pkg/logutil: do not print error message on journaldWriter
release-3.4
Gyuho Lee 2018-05-16 12:33:26 -07:00 committed by GitHub
commit 65b29b0bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -82,7 +82,6 @@ func (w *journaldWriter) Write(p []byte) (int, error) {
"SYSLOG_IDENTIFIER": filepath.Base(os.Args[0]),
})
if err != nil {
fmt.Println("FAILED TO WRITE TO JOURNALD", err, string(p))
return w.Writer.Write(p)
}
return 0, nil