diff --git a/main.go b/main.go index 58314e79..6d3e755b 100644 --- a/main.go +++ b/main.go @@ -41,11 +41,6 @@ func NewService(ctx context.Context) (*Service, error) { log.InfoLevel, &log.JSONFormatter{}, &lumberjackrus.LogFileOpts{ - log.InfoLevel: &lumberjackrus.LogFile{ - Filename: path.Join(appConfig.Workdir, "log/nwc-info.log"), - MaxAge: 1, - MaxBackups: 2, - }, log.ErrorLevel: &lumberjackrus.LogFile{ Filename: path.Join(appConfig.Workdir, "log/nwc-error.log"), MaxAge: 1,