From a98bd4490f4ccc75fce716ce24c76fb931b98bac Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Wed, 24 Jan 2024 15:00:08 +0700 Subject: [PATCH] chore: remove info log file --- main.go | 5 ----- 1 file changed, 5 deletions(-) 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,