code: def log_connection_info(self):
          
          _ctrl_c_lines = [
              'NOTE: Ctrl-C does not work to exit from the command line.',
              'To exit, just close the window, type "exit" or "quit" at the '
              'qtconsole prompt, or use Ctrl-\\ in UNIX-like environments '
              '(at the command prompt).']
  
          for line in _ctrl_c_lines:
              io.rprint(line)
  
          # upstream has this here, even though it seems like a silly place for it
          self.ports = dict(shell=self.shell_port, iopub=self.iopub_port,
                            stdin=self.stdin_port, hb=self.hb_port,
                            control=self.control_port)
docs: Overridden to customize the start-up message printed to the terminal