Remove NullHandlers (#1913)

This commit is contained in:
n5y 2020-05-03 11:28:03 +03:00 committed by GitHub
parent b6dec118c1
commit 5898e1fe7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 8 deletions

View file

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

View file

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

View file

@ -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):
"""

View file

@ -23,7 +23,6 @@ from threading import Event
logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())
class Promise(object):

View file

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