class LogReadServiceImpl implements LogReadService {

	@Override
	@RemoteMethod
	public List<String> read_log(String log_name, int line) {

		try {
			List<String> lines = Files.readLines(new File(log_folder + File.separator + log_name + ".txt"), Charset.defaultCharset());
			return lines.subList(line, lines.size());
		} catch (IOException e) {
			e.printStackTrace();
		}
		return null;
	}

}