pkg/logutil: do not print error message on journaldWriter
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>release-3.4
parent
53373fecdd
commit
a338816cb4
|
@ -82,7 +82,6 @@ func (w *journaldWriter) Write(p []byte) (int, error) {
|
||||||
"SYSLOG_IDENTIFIER": filepath.Base(os.Args[0]),
|
"SYSLOG_IDENTIFIER": filepath.Base(os.Args[0]),
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("FAILED TO WRITE TO JOURNALD", err, string(p))
|
|
||||||
return w.Writer.Write(p)
|
return w.Writer.Write(p)
|
||||||
}
|
}
|
||||||
return 0, nil
|
return 0, nil
|
||||||
|
|
Loading…
Reference in New Issue