{
  "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",
      "level": "DEBUG",
      "filename": "${opts:base}/logs/game-log-${opts:serverId}.log",
      "maxLogSize": 1048576,
      "layout": {
          "type": "basic"
      },
      "backups": 5,
      "category": "game-log"
    },
    {
      "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.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",
    "con-log" : "ERROR",
    "rpc-debug": "ERROR",
    "crash-log" : "ERROR",
    "admin-log": "ERROR",
    "pomelo" : "ERROR",
    "pomelo-admin": "ERROR",
    "pomelo-rpc": "ERROR"
  },

  "replaceConsole": true,

  "lineDebug": false
}
