Browse Source

pkg/logutil: do not print error message on journaldWriter

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
a338816cb4
1 changed files with 0 additions and 1 deletions
  1. 0 1
      pkg/logutil/zap_journald.go

+ 0 - 1
pkg/logutil/zap_journald.go

@@ -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