@Override
public void writeResponse(ManagementCenterService mcs, ObjectDataOutput dos) throws Exception {
Node node = mcs.getHazelcastInstance().node;
SystemLogService systemLogService = node.getSystemLogService();
List<SystemLogRecord> logBundle = systemLogService.getLogBundle();
Address address = node.getThisAddress();
dos.writeUTF(address.getHost() + ":" + address.getPort());
dos.writeInt(logBundle.size());
for (SystemLogRecord systemLogRecord : logBundle) {
systemLogRecord.writeData(dos);
}
}