<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

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_levels)