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