mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-31 16:40:53 +01:00
Remove NullHandlers (#1913)
This commit is contained in:
parent
b6dec118c1
commit
5898e1fe7a
5 changed files with 0 additions and 8 deletions
|
@ -44,8 +44,6 @@ from telegram.error import InvalidToken, TelegramError
|
|||
from telegram.utils.helpers import to_timestamp, DEFAULT_NONE
|
||||
from telegram.utils.request import Request
|
||||
|
||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
||||
|
||||
|
||||
def info(func):
|
||||
@functools.wraps(func)
|
||||
|
|
|
@ -38,7 +38,6 @@ from telegram.utils.deprecate import TelegramDeprecationWarning
|
|||
from telegram.utils.promise import Promise
|
||||
from telegram.ext import BasePersistence
|
||||
|
||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
||||
DEFAULT_GROUP = 0
|
||||
|
||||
|
||||
|
|
|
@ -32,8 +32,6 @@ from telegram.utils.helpers import get_signal_name
|
|||
from telegram.utils.request import Request
|
||||
from telegram.utils.webhookhandler import (WebhookServer, WebhookAppClass)
|
||||
|
||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
||||
|
||||
|
||||
class Updater(object):
|
||||
"""
|
||||
|
|
|
@ -23,7 +23,6 @@ from threading import Event
|
|||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.addHandler(logging.NullHandler())
|
||||
|
||||
|
||||
class Promise(object):
|
||||
|
|
|
@ -29,8 +29,6 @@ from tornado.httpserver import HTTPServer
|
|||
from tornado.ioloop import IOLoop
|
||||
import tornado.web
|
||||
|
||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
||||
|
||||
|
||||
class WebhookServer(object):
|
||||
|
||||
|
|
Loading…
Reference in a new issue