code: def set_multiprocessing_logging_level_by_opts(opts):
      '''
      This will set the multiprocessing logging level to the lowest
      logging level of all the types of logging that are configured.
      '''
      global __MP_LOGGING_LEVEL
  
      log_levels = [
          LOG_LEVELS.get(opts.get('log_level', '').lower(), logging.ERROR),
          LOG_LEVELS.get(opts.get('log_level_logfile', '').lower(), logging.ERROR)
      ]
      for level in six.itervalues(opts.get('log_granular_levels', {})):
          log_levels.append(
              LOG_LEVELS.get(level.lower(), logging.ERROR)
          )
  
      __MP_LOGGING_LEVEL = min(log_levelsf set_multiprocessing_logging_level_by_opts(opts):
      '''
      This will set the multiprocessing logging level to the lowest
      logging level of all the types of logging that are configured.
      '''
      global __MP_LOGGING_LEVEL
  
      log_levels = [
          LOG_LEVELS.get(opts.get('log_level', '').lower(), logging.ERROR),
          LOG_LEVELS.get(opts.get('log_level_logfile', '').lower(), logging.ERROR)
      ]
      for level in six.itervalues(opts.get('log_granular_levels', {})):
          log_levels.append(
              LOG_LEVELS.get(level.lower(), logging.ERROR)
          )
  
      __MP_LOGGING_LEVEL = min(log_levels)
docs: This will set the multiprocessing logging level to the lowest
      logging level of all the types of logging that are configured.