pkg/logutil: do not print error message on journaldWriter

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee
2018-05-16 11:34:33 -07:00
parent 53373fecdd
commit a338816cb4

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