public boolean logToFile(String message, Throwable t) {
    boolean loggedMessage = false;
    if (gfshFileLogger != null) {
      gfshFileLogger.info(message, t);
      loggedMessage = true;
    }
    return loggedMessage;
  }
Set the last command execution status

@param lastExecutionStatus last command execution status
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/shell/Gfsh.java