diff --git a/cmd/rvcl/main.go b/cmd/rvcl/main.go index f4bd7c15..7e51c457 100644 --- a/cmd/rvcl/main.go +++ b/cmd/rvcl/main.go @@ -61,7 +61,6 @@ import ( "encoding/json" "flag" "fmt" - "io" "os" "runtime/pprof" @@ -150,14 +149,12 @@ func main() { // writing of messages. log = logger.New( logLevel, - io.MultiWriter( - &lumberjack.Logger{ - Filename: logPath, - MaxSize: logMaxSize, // MB - MaxBackups: logMaxBackups, - MaxAge: logMaxAge, // days - }, - ), + &lumberjack.Logger{ + Filename: logPath, + MaxSize: logMaxSize, // MB + MaxBackups: logMaxBackups, + MaxAge: logMaxAge, // days + }, logSuppress, )