public static void logProcessInfo(Configuration conf) {
    logHBaseConfigs(conf);

    // log environment variables unless asked not to
    if (conf == null || !conf.getBoolean("hbase.envvars.logging.disabled", false)) {
      Set<String> skipWords = new HashSet<>(DEFAULT_SKIP_WORDS);
      if (conf != null) {
        String[] confSkipWords = conf.getStrings("hbase.envvars.logging.skipwords");
        if (confSkipWords != null) {
          skipWords.addAll(Arrays.asList(confSkipWords));
        }
      }

      nextEnv: for (Entry<String, String> entry : System.getenv().entrySet()) {
        String key = entry.getKey().toLowerCase(Locale.ROOT);
        String value = entry.getValue().toLowerCase(Locale.ROOT);
        // exclude variables which may contain skip words
        for (String skipWord : skipWords) {
          if (key.contains(skipWord) || value.contains(skipWord)) continue nextEnv;
        }
        LOG.info("env:" + entry);
      }
    }

    // and JVM info
    logJVMInfo();
  }
Logs information about the currently running JVM process including the environment variables.
Logging of env vars can be disabled by setting {@code "hbase.envvars.logging.disabled"} to
{@code "true"}.
<p>
If enabled, you can also exclude environment variables containing certain substrings by setting
{@code "hbase.envvars.logging.skipwords"} to comma separated list of such substrings.
hbase-server/src/main/java/org/apache/hadoop/hbase/util/ServerCommandLine.java