code: public static Logger openLogger(String name, int limit, int count) {
  		Logger logger = Logger.getAnonymousLogger();
  		logger.setLevel(Level.ALL);
  		logger.setUseParentHandlers(false);
  		if (DEBUG) {
  			ConsoleHandler handler = new ConsoleHandler();
  			handler.setLevel(Level.ALL);
  			logger.addHandler(handler);
  		}
  		FileHandler handler;
  		try {
  			String logDir_ = logDir == null ? getAbsolutePath("logs") : logDir;
  			new File(logDir_).mkdirs();
  			String pattern = (logDir_.endsWith("/") ? logDir_ : logDir_ + "/") +
  					name + "%g.log";
  			handler = new FileHandler(pattern, limit, count, true);
  		} catch (IOException e) {
  			throw new RuntimeException(e);
  		}
  		handler.setFormatter(new SimpleFormatter());
  		handler.setLevel(Level.ALL);
  		logger.addHandler(handler);
  		return logger;
  	}
docs: Open a {@link Logger} with output file under folder <b>log_dir</b>
  (if defined in Conf.properties) or <b>logs/</b> relative to the current folder
  
  @param name logging output file with the pattern "${name}%g.log"
  @param limit the maximum number of bytes to write to any one file count the number of files to use
  @param count the number of files to use