{
  "appenders": {
    "console-appender": {
      "type": "console",
      "layout": {
        "type": "pattern",
        "pattern": "[%p]-%c-%d-%z - %m"
      }
    },
    "file-info-appender": {
      "type": "file",
      "filename": "log/xcheck-stacktrace.log",
      "maxLogSize": "2M",
      "backups": 5,
      "layout": {
        "type": "pattern",
        "pattern": "[%p] - %c -%d-%z - %m"
      }
    },
    "file-error-appender": {
      "type": "file",
      "filename": "log/xcheck-stacktrace-error.log",
      "maxLogSize": "2M",
      "backups": 5,
      "layout": {
        "type": "pattern",
        "pattern": "[%p] - %c -%d-%z - %m"
      }
    },
    "file-error-filter-appender": {
      "type": "logLevelFilter",
      "appender": "file-error-appender",
      "level": "error"
    }
  },
  "categories": {
    "xcheck": {
      "appenders": ["console-appender", "file-info-appender", "file-error-filter-appender"],
      "level": "debug"
    },
    "default": {
      "appenders": ["console-appender"],
      "level": "info"
    }
  }
}
