pyTelegramBotAPI
pyTelegramBotAPI copied to clipboard
Param logger_level is now working
Please answer these questions before submitting your issue. Thanks!
-
What version of pyTelegramBotAPI are you using? pytelegrambotapi-4.23.0
-
What OS are you using? MacOS
-
What version of python are you using? Python3.12
==
When I pass the parameter bot.infinity_polling(logger_level=logging.DEBUG), the logging mode is not switched over.
@badiboy I always questioned why we even have this. It is misleading, looks as if it sets logging level of telebot logger to necessary one, but it only shows message based on logger level.
It is clear from parameter description. It overrides telebot logging level for infinity_polling function.
Main target is to have detailed debug for polling errors not carrying all other debug trash by keeping Telebot logging level to error.