From 58952a7d984409d6c167848dbae687adff50d6c1 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 2 May 2018 23:06:22 +0200 Subject: [PATCH] Temporarily remove the debug feature --- pyrogram/client/client.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 44f1cbd4..dd14d71e 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -316,15 +316,6 @@ class Client: if self.is_started: raise ConnectionError("Client has already been started") - logging.basicConfig( - format=LOG_FORMAT, - datefmt="%Y-%m-%d %H:%M:%S", - stream=sys.stdout - ) - - if debug: - logging.getLogger().setLevel(logging.INFO) - if self.BOT_TOKEN_RE.match(self.session_name): self.token = self.session_name self.session_name = self.session_name.split(":")[0]