public static void logOpenSslExitCode(String command, int exitCode) {
    if (exitCode == 0) {
      LOG.info(getOpenSslCommandResult(command, exitCode));
    } else {
      LOG.warn(getOpenSslCommandResult(command, exitCode));
    }

  }
Logs OpenSsl command exit code with description
ambari-server/src/main/java/org/apache/ambari/server/utils/ShellCommandUtil.java