diff --git a/cmd/logging_outlets.go b/cmd/logging_outlets.go index ba34b8e..e8df81a 100644 --- a/cmd/logging_outlets.go +++ b/cmd/logging_outlets.go @@ -62,6 +62,9 @@ func (h *TCPOutlet) WriteEntry(ctx context.Context, e logger.Entry) error { } _, err = h.conn.Write(b) + if err == nil { + _, err = h.conn.Write([]byte("\n")) + } if err != nil { return errors.Wrap(err, "cannot write") h.conn.Close()