import logging

from gullveig import bootstrap_default_logger


# Configure default logging
def _configure_default_web_logger():
    logger = logging.getLogger('gullveig-web')
    bootstrap_default_logger(logger)

    api_logger = logging.getLogger('gullveig-api')
    bootstrap_default_logger(api_logger)

    aio_logger = logging.getLogger('aiohttp.server')
    bootstrap_default_logger(aio_logger)


_configure_default_web_logger()

[(8, 'logging.getLogger', 'logging.getLogger', False, 'import logging\n'), (9, 'gullveig.bootstrap_default_logger', 'bootstrap_default_logger', False, 'from gullveig import bootstrap_default_logger\n'), (11, 'logging.getLogger', 'logging.getLogger', False, 'import logging\n'), (12, 'gullveig.bootstrap_default_logger', 'bootstrap_default_logger', False, 'from gullveig import bootstrap_default_logger\n'), (14, 'logging.getLogger', 'logging.getLogger', False, 'import logging\n'), (15, 'gullveig.bootstrap_default_logger', 'bootstrap_default_logger', False, 'from gullveig import bootstrap_default_logger\n')]