code: def setup():
      
      l_mitogen = logging.getLogger('mitogen')
      l_mitogen_io = logging.getLogger('mitogen.io')
      l_ansible_mitogen = logging.getLogger('ansible_mitogen')
  
      for logger in l_mitogen, l_mitogen_io, l_ansible_mitogen:
          logger.handlers = [Handler(display.vvv)]
          logger.propagate = False
  
      if display.verbosity > 2:
          l_ansible_mitogen.setLevel(logging.DEBUG)
          l_mitogen.setLevel(logging.DEBUG)
      else:
          # Mitogen copies the active log level into new children, allowing them
          # to filter tiny messages before they hit the network, and therefore
          # before they wake the IO loop. Explicitly setting INFO saves ~4%
          # running against just the local machine.
          l_mitogen.setLevel(logging.ERROR)
          l_ansible_mitogen.setLevel(logging.ERROR)
  
      if display.verbosity > 3:
          l_mitogen_io.setLevel(logging.DEBUG)
docs: Install handlers for Mitogen loggers to redirect them into the Ansible
      display framework. Ansible installs its own logging framework handlers when
      C.DEFAULT_LOG_PATH is set, therefore disable propagation for our handlers.