public void printInfo(String info, String detail, boolean isSilent) {
      if (!isSilent) {
        getInfoStream().println(info);
      }
      if (collectQuerySummary){
        querySummary.append(info);
        querySummary.append("\n");
      }
      LOG.info(info + StringUtils.defaultString(detail));
    }
Logs info into the log file, and if not silent then into the HiveServer2 or HiveCli info
stream too. Handles an extra detail which will not be printed if null.
BeeLine uses the operation log file to show the logs to the user, so depending on the
BeeLine settings it could be shown to the user.
@param info The log message
@param detail Extra detail to log which will be not printed if null
@param isSilent If true then the message will not be printed to the info stream
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java