This commit is contained in:
xtaodada 2022-07-02 21:26:48 +08:00
parent 9e2d53f464
commit 01bad4ef82
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -17,7 +17,7 @@ root_logger = getLogger()
root_logger.setLevel(DEBUG if Config.DEBUG else CRITICAL)
root_logger.addHandler(logging_handler)
pyro_logger = getLogger("pyrogram")
pyro_logger.setLevel(DEBUG)
pyro_logger.setLevel(CRITICAL)
pyro_logger.addHandler(logging_handler)
basicConfig(level=DEBUG if Config.DEBUG else INFO)
logs.setLevel(DEBUG if Config.DEBUG else INFO)