mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
pkg/logutil: do not print error message on journaldWriter
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user