diff --git a/controller/events/file_logger.go b/controller/events/file_logger.go index 31d1f9698..a85958841 100644 --- a/controller/events/file_logger.go +++ b/controller/events/file_logger.go @@ -56,7 +56,7 @@ func NewFileEventLogger(formatterFactory LoggingHandlerFactory, stdout bool, con } } - var output io.WriteCloser = os.Stdout + var output = &newlineWriter{out: os.Stdout} if !stdout { // allow config to override the max file size