@Override
public void writeResponse(ManagementCenterService mcs, JsonObject root) throws Exception {
final JsonObject result = new JsonObject();
Node node = mcs.getHazelcastInstance().node;
SystemLogService systemLogService = node.getSystemLogService();
List<SystemLogRecord> logBundle = systemLogService.getLogBundle();
Address address = node.getThisAddress();
result.add("node", address.getHost() + ":" + address.getPort());
JsonArray logs = new JsonArray();
for (SystemLogRecord systemLogRecord : logBundle) {
logs.add(systemLogRecord.toJson());