import logging


def get_log_level(ll):
    """Get the logging level from the logging module. Defaults to ERROR if not found.

    :param ll: `str` The log level wanted.

    :returns: `int` The logging level.
    """
    return getattr(logging, ll.upper(), logging.ERROR)