code: public static AccessLog.Format convertNCSAFormat(String name) {
          if (null == name) {
              return AccessLog.Format.COMMON;
          }
          AccessLog.Format format = AccessLog.Format.COMMON;
          String test = name.trim().toLowerCase();
          if ("combined".equals(test)) {
              format = AccessLog.Format.COMBINED;
          }
          return format;
      }
docs: Convert the input string into the appropriate Format setting.
  
  @param name
  @return AccessLog.Format