日志:修改常山少年服日志配置
This commit is contained in:
@@ -1,170 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
'appenders': {
|
|
||||||
'console': {
|
|
||||||
'type': 'console'
|
|
||||||
},
|
|
||||||
'logger': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/logger.log',
|
|
||||||
'pattern': 'connector',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'log': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/log.log',
|
|
||||||
'pattern': 'connector',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'con-log': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/con-log-${opts:serverId}.log',
|
|
||||||
'pattern': 'connector',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'rpc-log': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/rpc-log-${opts:serverId}.log',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'forward-log': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/forward-log-${opts:serverId}.log',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'rpc-debug': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/rpc-debug-${opts:serverId}.log',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'crash-log': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/crash.log',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'admin-log': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/admin.log',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'pinus': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/pinus-default.log',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'error': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/error.log',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'pinus-admin': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/pinus-admin.log',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
},
|
|
||||||
'pinus-rpc': {
|
|
||||||
'type': 'file',
|
|
||||||
'filename': '${opts:base}/logs/pinus-rpc-${opts:serverId}.log',
|
|
||||||
'maxLogSize': 1048576,
|
|
||||||
'layout': {
|
|
||||||
'type': 'basic'
|
|
||||||
},
|
|
||||||
'backups': 5
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
'categories': {
|
|
||||||
'default': {
|
|
||||||
'appenders': ['console'],
|
|
||||||
'level': 'debug'
|
|
||||||
},
|
|
||||||
'pinus': {
|
|
||||||
'appenders': ['console', 'pinus'],
|
|
||||||
'level': 'debug'
|
|
||||||
},
|
|
||||||
'con-log': {
|
|
||||||
'appenders': ['console', 'log'],
|
|
||||||
'level': 'debug'
|
|
||||||
},
|
|
||||||
'rpc-log': {
|
|
||||||
'appenders': ['console', 'log'],
|
|
||||||
'level': 'debug'
|
|
||||||
},
|
|
||||||
'forward-log': {
|
|
||||||
'appenders': ['console', 'log'],
|
|
||||||
'level': 'debug'
|
|
||||||
},
|
|
||||||
'rpc-debug': {
|
|
||||||
'appenders': ['console', 'log'],
|
|
||||||
'level': 'debug'
|
|
||||||
},
|
|
||||||
'crash-log': {
|
|
||||||
'appenders': ['console', 'crash-log'],
|
|
||||||
'level': 'debug'
|
|
||||||
},
|
|
||||||
'admin-log': {
|
|
||||||
'appenders': ['console', 'log'],
|
|
||||||
'level': 'debug'
|
|
||||||
},
|
|
||||||
'pinus-admin': {
|
|
||||||
'appenders': ['console', 'log'],
|
|
||||||
'level': 'debug'
|
|
||||||
},
|
|
||||||
'pinus-rpc': {
|
|
||||||
'appenders': ['console', 'log'],
|
|
||||||
'level': 'debug'
|
|
||||||
},
|
|
||||||
'logger': {
|
|
||||||
'appenders': ['console', 'logger'],
|
|
||||||
'level': 'error'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
'prefix': '${opts:serverId} ',
|
|
||||||
'replaceConsole': true,
|
|
||||||
'lineDebug': false,
|
|
||||||
'errorStack': true
|
|
||||||
};
|
|
||||||
@@ -758,7 +758,7 @@ export enum THINKING_DATA_MODE_LIST {
|
|||||||
BATCH = 'batch',
|
BATCH = 'batch',
|
||||||
LOGGING = 'logging',
|
LOGGING = 'logging',
|
||||||
}
|
}
|
||||||
export let THINKING_DATA_MODE = THINKING_DATA_MODE_LIST.DEBUG;
|
export let THINKING_DATA_MODE = THINKING_DATA_MODE_LIST.LOGGING;
|
||||||
|
|
||||||
|
|
||||||
export enum BLOCK_TYPE {
|
export enum BLOCK_TYPE {
|
||||||
|
|||||||
Reference in New Issue
Block a user