1
0
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:
Mr. Dog 2020-08-02 20:30:58 +05:00 committed by GitHub
parent 4e5fb59fc0
commit 1ba093cb02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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