'Sets logging levels for this module and the block structure
cache module, based on the given the options.'

def _set_log_levels(self, options):

    if (options.get('verbosity') == 0):
        log_level = logging.CRITICAL
    elif (options.get('verbosity') == 1):
        log_level = logging.WARNING
    else:
        log_level = logging.INFO
    if (options.get('verbosity') < 3):
        cache_log_level = logging.CRITICAL
    else:
        cache_log_level = logging.INFO
    log.setLevel(log_level)
    store.logger.setLevel(cache_log_level)
