Skip to content

Commit

Permalink
chore: remove info log file
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jan 24, 2024
1 parent c7739ce commit a98bd44
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a98bd44

Please sign in to comment.