mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Change logger level to warning
This commit is contained in:
parent
4e5fb59fc0
commit
1ba093cb02
@ -18,7 +18,7 @@ console_output_handler = logging.StreamHandler(sys.stderr)
|
|||||||
console_output_handler.setFormatter(formatter)
|
console_output_handler.setFormatter(formatter)
|
||||||
logger.addHandler(console_output_handler)
|
logger.addHandler(console_output_handler)
|
||||||
|
|
||||||
logger.setLevel(logging.ERROR)
|
logger.setLevel(logging.WARNING)
|
||||||
|
|
||||||
from telebot import apihelper, types, util
|
from telebot import apihelper, types, util
|
||||||
from telebot.handler_backends import MemoryHandlerBackend, FileHandlerBackend
|
from telebot.handler_backends import MemoryHandlerBackend, FileHandlerBackend
|
||||||
|
Loading…
Reference in New Issue
Block a user