@Override
  protected void logCommandToOutput(String processedLine) {
    String originalString = expandedPropCommandsMap.get(processedLine);
    if (originalString != null) {
      // In history log the original command string & expanded line as a comment
      super.logCommandToOutput(ArgumentRedactor.redact(originalString));
      super.logCommandToOutput(ArgumentRedactor.redact("// Post substitution"));
      super.logCommandToOutput(ArgumentRedactor.redact("//" + processedLine));
    } else {
      super.logCommandToOutput(ArgumentRedactor.redact(processedLine));
    }
  }
Executes the given command string. We have over-ridden the behavior to extend the original
implementation to store the 'last command execution status'.

@param line command string to be executed
@return true if execution is successful; false otherwise
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/shell/Gfsh.java