public static LogHelper getConsole() {
    if (_console == null) {
      Logger LOG = LoggerFactory.getLogger("SessionState");
      _console = new LogHelper(LOG);
    }
    return _console;
  }
initialize or retrieve console object for SessionState.
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java