1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #1411 from studentenherz/master

Removed redundant logger configuration in async_telebot
This commit is contained in:
Badiboy 2022-01-12 10:26:35 +03:00 committed by GitHub
commit 56fbf491bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,16 +17,6 @@ from inspect import signature
from telebot import logger
formatter = logging.Formatter(
'%(asctime)s (%(filename)s:%(lineno)d %(threadName)s) %(levelname)s - %(name)s: "%(message)s"'
)
console_output_handler = logging.StreamHandler(sys.stderr)
console_output_handler.setFormatter(formatter)
logger.addHandler(console_output_handler)
logger.setLevel(logging.ERROR)
from telebot import util, types, asyncio_helper
import asyncio
from telebot import asyncio_handler_backends