日志:修改日志配置

This commit is contained in:
luying
2022-01-07 18:08:29 +08:00
parent 7284b22544
commit e579457a39
8 changed files with 47 additions and 31 deletions

View File

@@ -88,11 +88,11 @@ module.exports = {
'app': {
'type': 'file',
'filename': '${opts:base}/../logs/app/app.log',
'maxLogSize': 1048576,
'maxLogSize': 10485760,
'layout': {
'type': 'basic'
},
'backups': 5
'backups': 15
},
'error': {
'type': 'file',
@@ -143,7 +143,7 @@ module.exports = {
'level': 'debug'
},
'pinus': {
'appenders': ['console', 'pinus'],
'appenders': ['pinus'],
'level': 'debug'
},
'info': {