Skip to content

Commit

Permalink
config: change rotation period from 1 hour to 24 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
Byunk committed Jan 3, 2024
1 parent 3f2d6d7 commit 36b902e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/winston.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if (process.env.NODE_ENV !== 'production') {
filename: 'trace-%DATE%.log',
level: 'info',
dirname: path.join(__dirname, '../../logs'),
datePattern: 'YYYY-MM-DD-HH',
datePattern: 'YYYY-MM-DD',
maxSize: '20m',
maxFiles: '30d',
}),
Expand Down

0 comments on commit 36b902e

Please sign in to comment.