private void logRequest(String uri, String res) {
		try {
		    PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter("log.txt", true)));
		    out.println(uri);
		    out.println(res);
		    out.close();
		} catch (IOException e) {
		    e.printStackTrace();
		}
	}