123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- {
- "appenders": [
- {
- "type": "console"
- },
- {
- "type": "file",
- "filename": "${opts:base}/logs/con-log-${opts:serverId}.log",
- "pattern": "connector",
- "maxLogSize": 1048576,
- "layout": {
- "type": "basic"
- },
- "backups": 5,
- "category": "con-log"
- },
- {
- "type": "file",
- "filename": "${opts:base}/logs/rpc-log-${opts:serverId}.log",
- "maxLogSize": 1048576,
- "layout": {
- "type": "basic"
- },
- "backups": 5,
- "category": "rpc-log"
- },
- {
- "type": "file",
- "filename": "${opts:base}/logs/forward-log-${opts:serverId}.log",
- "maxLogSize": 1048576,
- "layout": {
- "type": "basic"
- },
- "backups": 5,
- "category": "forward-log"
- },
- {
- "type": "file",
- "filename": "${opts:base}/logs/rpc-debug-${opts:serverId}.log",
- "maxLogSize": 1048576,
- "layout": {
- "type": "basic"
- },
- "backups": 5,
- "category": "rpc-debug"
- },
- {
- "type": "file",
- "filename": "${opts:base}/logs/crash.log",
- "maxLogSize": 1048576,
- "layout": {
- "type": "basic"
- },
- "backups": 5,
- "category":"crash-log"
- },
- {
- "type": "file",
- "filename": "${opts:base}/logs/admin.log",
- "maxLogSize": 1048576,
- "layout": {
- "type": "basic"
- }
- ,"backups": 5,
- "category":"admin-log"
- },
- {
- "type": "file",
- "filename": "${opts:base}/logs/pomelo-${opts:serverId}.log",
- "maxLogSize": 1048576,
- "layout": {
- "type": "basic"
- }
- ,"backups": 5,
- "category":"pomelo"
- },
- {
- "type": "file",
- "filename": "${opts:base}/logs/pomelo-admin.log",
- "maxLogSize": 1048576,
- "layout": {
- "type": "basic"
- }
- ,"backups": 5,
- "category":"pomelo-admin"
- },
- {
- "type": "file",
- "filename": "${opts:base}/logs/pomelo-rpc.log",
- "maxLogSize": 1048576,
- "layout": {
- "type": "basic"
- }
- ,"backups": 5,
- "category":"pomelo-rpc"
- }
- ],
- "levels": {
- "rpc-log" : "ERROR",
- "forward-log": "ERROR"
- },
- "replaceConsole": true,
- "lineDebug": false
- }
|