mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-03 17:52:31 +01:00
Fix Logging for Vendored urllib3 (#2427)
This commit is contained in:
parent
b03ebc5a65
commit
038a3b4452
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ def _render_part(self: RequestField, name: str, value: str) -> str: # pylint: d
|
|||
|
||||
RequestField._render_part = _render_part # type: ignore # pylint: disable=W0212
|
||||
|
||||
logging.getLogger('urllib3').setLevel(logging.WARNING)
|
||||
logging.getLogger('telegram.vendor.ptb_urllib3.urllib3').setLevel(logging.WARNING)
|
||||
|
||||
USER_AGENT = 'Python Telegram Bot (https://github.com/python-telegram-bot/python-telegram-bot)'
|
||||
|
||||
|
|
Loading…
Reference in a new issue