prometheus_aioexporter/script.py
def _setup_logging(self, log_level: str):
        """Setup logging for the application and aiohttp."""
        level = getattr(logging, log_level)
        names = (
            'aiohttp.access', 'aiohttp.internal', 'aiohttp.server',
            'aiohttp.web', self.name)
        for name in names:
            setup_logger(name=name, stream=sys.stderr, level=level)
def _setup_logging(self, log_level: str):
        level = getattr(logging, log_level)
        names = (
            'aiohttp.access', 'aiohttp.internal', 'aiohttp.server',
            'aiohttp.web', self.name)
        for name in names:
            setup_logger(name=name, stream=sys.stderr, level=level)
def _setup_logging ( self , log_level : str ) : level = getattr ( logging , log_level ) names = ( 'aiohttp.access' , 'aiohttp.internal' , 'aiohttp.server' , 'aiohttp.web' , self . name ) for name in names : setup_logger ( name = name , stream = sys . stderr , level = level )
Setup logging for the application and aiohttp.
Setup logging for the application and aiohttp .