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, 13, 8, 46), 'logging.getLogger', 'logging.getLogger', ({(8, 31, 8, 45): '"""gullveig-web"""'}, {}), "('gullveig-web')", False, 'import logging\n'), ((9, 4, 9, 36), 'gullveig.bootstrap_default_logger', 'bootstrap_default_logger', ({(9, 29, 9, 35): 'logger'}, {}), '(logger)', False, 'from gullveig import bootstrap_default_logger\n'), ((11, 17, 11, 50), 'logging.getLogger', 'logging.getLogger', ({(11, 35, 11, 49): '"""gullveig-api"""'}, {}), "('gullveig-api')", False, 'import logging\n'), ((12, 4, 12, 40), 'gullveig.bootstrap_default_logger', 'bootstrap_default_logger', ({(12, 29, 12, 39): 'api_logger'}, {}), '(api_logger)', False, 'from gullveig import bootstrap_default_logger\n'), ((14, 17, 14, 52), 'logging.getLogger', 'logging.getLogger', ({(14, 35, 14, 51): '"""aiohttp.server"""'}, {}), "('aiohttp.server')", False, 'import logging\n'), ((15, 4, 15, 40), 'gullveig.bootstrap_default_logger', 'bootstrap_default_logger', ({(15, 29, 15, 39): 'aio_logger'}, {}), '(aio_logger)', False, 'from gullveig import bootstrap_default_logger\n')]