@Override
    public String toString() {
      if (getStatus() == Status.STARTING && getStatusMessage() != null) {
        StringBuilder sb = new StringBuilder();
        sb.append("Starting %s in %s on %s as %s at %s").append(System.lineSeparator());
        sb.append(TO_STRING_PROCESS_ID).append("%s").append(System.lineSeparator());
        sb.append(TO_STRING_JAVA_VERSION).append("%s").append(System.lineSeparator());
        sb.append(TO_STRING_LOG_FILE).append("%s").append(System.lineSeparator());
        sb.append(TO_STRING_JVM_ARGUMENTS).append("%s").append(System.lineSeparator());
        sb.append(TO_STRING_CLASS_PATH).append("%s").append(System.lineSeparator());
        sb.append(TO_STRING_STATUS_MESSAGE).append("%s");

        return String.format(sb.toString(),
            getServiceName(), getWorkingDirectory(), getServiceLocation(), getMemberName(),
            toString(getTimestamp()), toString(getPid()), toString(getJavaVersion()),
            getLogFile(), ArgumentRedactor.redact(getJvmArguments()),
            toString(getClasspath()), toString(getStatusMessage()));

      }
      return super.toString();
    }
Gets a String describing the state of Server.

@return a String describing the Server state.
geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java