public String[][][] getLog(String mode, String sv) throws IOException {
		String storeAccess = null;
		String storeAccessUpdate = null;
		if (mode.equals("past")) {
			storeAccess = "text";
			storeAccessUpdate = "past_update";
		} else if (mode.equals("ranking")) {
			storeAccess = "rank";
			storeAccessUpdate = "rank_update";
		} else if (mode.equals("pair")) {
			storeAccess = "pair";
			storeAccessUpdate = "pair_update";
		}

		URL url1 = new URL("http://" + sv + ".appspot.com/" + mode
				+ "?mokyu=true");
		HTTPRequest request1 = new HTTPRequest(url1, HTTPMethod.GET, Builder
				.disallowTruncate().setDeadline(15.0));
		HTTPResponse http_response1 = URLFetchServiceFactory
				.getURLFetchService().fetch(request1);
		String content1 = new String(http_response1.getContent(), "utf-8");
		DatastoreService datastore = DatastoreServiceFactory
				.getDatastoreService();
		Entity past = null;
		try {
			past = datastore
					.get(KeyFactory.createKey("past_string", "onlyOne"));
		} catch (EntityNotFoundException e) {
		}

		String content2 = ((Text) past.getProperty(storeAccess)).getValue()
				+ "<>" + (String) past.getProperty(storeAccessUpdate);
		String[][] log_box = new String[2][2];
		log_box[0] = content1.split("<>");
		log_box[1] = content2.split("<>");
		if (log_box[0][0].isEmpty() || log_box[0][1].isEmpty()
				|| log_box[1][0].isEmpty() || log_box[1][1].isEmpty())
			throw new IOException();
		String[][][] sp_log_box = new String[2][2][];

		sp_log_box[0][0] = log_box[0][0].split(",");
		sp_log_box[1][0] = log_box[1][0].split(",");
		sp_log_box[0][1] = log_box[0][1].split(",");
		sp_log_box[1][1] = log_box[1][1].split(",");
		return sp_log_box;
	}