pkg/logutil: do not print error message on journaldWriter

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
release-3.4
Gyuho Lee 2018-05-16 11:34:33 -07:00
parent 53373fecdd
commit a338816cb4
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