Skip to content

Commit e11c4e3

Browse files
authored
change max size of client.log (#2356)
Signed-off-by: Yan Zhang <[email protected]>
1 parent ca9e8cc commit e11c4e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function initializeLogFile(filename: string) {
55
logger.add(new DailyRotateFile({
66
filename: filename,
77
datePattern: 'YYYY-MM-DD',
8-
maxSize: '100k', // 100k max size per file
8+
maxSize: '1m', // 1MB max size per file
99
maxFiles: '2d' // retain logs of the last two days
1010
}));
1111
}

0 commit comments

Comments
 (0)