code: public static void main(final String[] args) {
          // update java.io.tmpdir
          final String tempPath = System.getProperty(FESS_TEMP_PATH);
          if (tempPath != null) {
              System.setProperty(JAVA_IO_TMPDIR, tempPath);
          }
  
          final TomcatBoot tomcatBoot = new FessBoot(getPort(), getContextPath()) //
                  .useTldDetect(); // for JSP
          if (tempPath != null) {
              tomcatBoot.atBaseDir(new File(tempPath, "webapp").getAbsolutePath());
          }
          final String tomcatConfigPath = getTomcatConfigPath();
          if (tomcatConfigPath != null) {
              tomcatBoot.configure(tomcatConfigPath); // e.g. URIEncoding
          }
          tomcatBoot.logging(LOGGING_PROPERTIES, op -> {
              op.ignoreNoFile();
              String fessLogPath = System.getProperty("fess.log.path");
              if (fessLogPath == null) {
                  fessLogPath = "../../logs";
              }
              op.replace("fess.log.path", fessLogPath.replace("\\", "/"));
          }).asYouLikeIt(resource -> {
              final Host host = resource.getHost();
              if (host instanceof StandardHost) {
                  ((StandardHost) host).setErrorReportValveClass(SuppressErrorReportValve.class.getName());
              }
          }).asDevelopment(isNoneEnv()).bootAwait();
      }
docs: ============