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()

[((142, 175), 'logging.getLogger', 'logging.getLogger', (['"""gullveig-web"""'], {}), "('gullveig-web')\n", (159, 175), False, 'import logging\n'), ((180, 212), 'gullveig.bootstrap_default_logger', 'bootstrap_default_logger', (['logger'], {}), '(logger)\n', (204, 212), False, 'from gullveig import bootstrap_default_logger\n'), ((231, 264), 'logging.getLogger', 'logging.getLogger', (['"""gullveig-api"""'], {}), "('gullveig-api')\n", (248, 264), False, 'import logging\n'), ((269, 305), 'gullveig.bootstrap_default_logger', 'bootstrap_default_logger', (['api_logger'], {}), '(api_logger)\n', (293, 305), False, 'from gullveig import bootstrap_default_logger\n'), ((324, 359), 'logging.getLogger', 'logging.getLogger', (['"""aiohttp.server"""'], {}), "('aiohttp.server')\n", (341, 359), False, 'import logging\n'), ((364, 400), 'gullveig.bootstrap_default_logger', 'bootstrap_default_logger', (['aio_logger'], {}), '(aio_logger)\n', (388, 400), False, 'from gullveig import bootstrap_default_logger\n')]