import logging logging.basicConfig(level=logging.INFO) logging.getLogger("pyrogram").setLevel(logging.ERROR) LOGS = logging.getLogger("[akeno]")