日志:修改日志配置
This commit is contained in:
@@ -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': {
|
||||
|
||||
Reference in New Issue
Block a user