refactor: log file limit

This commit is contained in:
手瓜一十雪 committed 2024-06-19 23:26:05 +08:00
1 parent 5b42f8b743
commit b863896249
3 files changed
+29 -6

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ const logConfig: Configuration = {
FileAppender: { // 输出到文件的appender
type: 'file',
filename: logPath, // 指定日志文件的位置和文件名
maxLoogSize: 10485760, // 日志文件的最大大小(单位:字节),这里设置为10MB
maxLogSize: 10485760, // 日志文件的最大大小(单位:字节),这里设置为10MB
layout: {
type: 'pattern',
pattern: '%d{yyyy-MM-dd hh:mm:ss} [%p] %X{userInfo} | %m'