code: def init_log_config(handler=None):
      
      for applog in lognames.values():
          # propagate except for root app logger 'linkcheck'
          propagate = (applog != LOG_ROOT)
          configdict['loggers'][applog] = dict(level='INFO', propagate=propagate)
  
      logging.config.dictConfig(configdict)
      if handler is None:
          handler = ansicolor.ColoredStreamHandler(strm=sys.stderr)
      add_loghandler(handler)
docs: Set up the application logging (not to be confused with check loggers).