:param dict config:
      Override application global settings.

    :param dict kwargs:
      Additional arguments given to :py:method:`logging.basicConfig`

def set_root_logger(config=None, **kwargs):
    """
    :param dict config:
      Override application global settings.

    :param dict kwargs:
      Additional arguments given to :py:method:`logging.basicConfig`
    """
    config = config or app_config
    logging_config = config.get('logging') or {}
    kwargs.setdefault('level', logging_config.get('level'))
    kwargs.setdefault('format', logging_config.get('format'))
    logging.basicConfig(**kwargs)