🔧 build(兼容): 添加报错日志
This commit is contained in:
@@ -117,13 +117,11 @@ module.exports = {
|
||||
'item': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/item/log',
|
||||
'pattern': 'yyyy-MM-dd-hh',
|
||||
'alwaysIncludePattern': true,
|
||||
'maxLogSize': 1048576,
|
||||
'layout': {
|
||||
'type': 'pattern',
|
||||
'pattern': '%m',
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 240,
|
||||
'backups': 5
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -113,6 +113,15 @@ module.exports = {
|
||||
'pattern': '%m',
|
||||
},
|
||||
'backups': 240,
|
||||
},
|
||||
'item': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/item/log',
|
||||
'maxLogSize': 1073741824,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
}
|
||||
},
|
||||
|
||||
@@ -168,6 +177,10 @@ module.exports = {
|
||||
'ta': {
|
||||
'appenders': ['console', 'ta'],
|
||||
'level': 'info'
|
||||
},
|
||||
'item': {
|
||||
'appenders': ['console', 'item'],
|
||||
'level': 'info'
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -113,6 +113,15 @@ module.exports = {
|
||||
'pattern': '%m',
|
||||
},
|
||||
'backups': 240,
|
||||
},
|
||||
'item': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/item/log',
|
||||
'maxLogSize': 1073741824,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
}
|
||||
},
|
||||
|
||||
@@ -168,6 +177,10 @@ module.exports = {
|
||||
'ta': {
|
||||
'appenders': ['console', 'ta'],
|
||||
'level': 'info'
|
||||
},
|
||||
'item': {
|
||||
'appenders': ['console', 'item'],
|
||||
'level': 'info'
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user