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

def _set_log_level(self, options):

    if (options.get(u'verbosity') == 0):
        log_level = logging.WARNING
    elif (options.get(u'verbosity') >= 1):
        log_level = logging.INFO
    log.setLevel(log_level)
