import logging dispatcher = logging.getLogger("aiogram.dispatcher") middlewares = logging.getLogger("aiogram.middlewares")