public static Logger getLogger(String name) {
		Logger logger = Logger.getLogger(name);
		logger.setLevel(Level.ALL);

		try {
			if (handler == null) {
				handler = new FileHandler("test.log");
				Formatter formatter = new MyFormatter();
				handler.setFormatter(formatter);
			}
			if (logger.getHandlers().length == 0) {
				logger.addHandler(handler);
			}
		} catch (SecurityException | IOException e) {
			e.printStackTrace();
		}
		return logger;

	}