Skip to content

Commit

Permalink
log lib keep 1 day
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceChar committed Nov 22, 2021
1 parent da88359 commit ef33d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/src/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function newRotateFile(filename: string, level: string = 'info', isJson: boolean
createSymlink: true,
symlinkName: `${filename}.log`,
maxSize: '100m',
maxFiles: 100,
maxFiles: '1d',
})
}

Expand Down

0 comments on commit ef33d36

Please sign in to comment.