Skip to content

Commit 43483a1

Browse files
committed
Remove info logs from protocol impls
1 parent ef9fc96 commit 43483a1

File tree

5 files changed

+0
-9
lines changed

5 files changed

+0
-9
lines changed

pyrogram/connection/transport/tcp/tcp_abridged.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ def connect(self, address: tuple):
3131
super().connect(address)
3232
super().sendall(b"\xef")
3333

34-
log.info("Connected{}!".format(" with proxy" if self.proxy_enabled else ""))
35-
3634
def sendall(self, data: bytes, *args):
3735
length = len(data) // 4
3836

pyrogram/connection/transport/tcp/tcp_abridged_o.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ def connect(self, address: tuple):
5555

5656
super().sendall(nonce)
5757

58-
log.info("Connected{}!".format(" with proxy" if self.proxy_enabled else ""))
59-
6058
def sendall(self, data: bytes, *args):
6159
length = len(data) // 4
6260

pyrogram/connection/transport/tcp/tcp_full.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def __init__(self, ipv6: bool, proxy: dict):
3434
def connect(self, address: tuple):
3535
super().connect(address)
3636
self.seq_no = 0
37-
log.info("Connected{}!".format(" with proxy" if self.proxy_enabled else ""))
3837

3938
def sendall(self, data: bytes, *args):
4039
# 12 = packet_length (4), seq_no (4), crc32 (4) (at the end)

pyrogram/connection/transport/tcp/tcp_intermediate.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ def connect(self, address: tuple):
3232
super().connect(address)
3333
super().sendall(b"\xee" * 4)
3434

35-
log.info("Connected{}!".format(" with proxy" if self.proxy_enabled else ""))
36-
3735
def sendall(self, data: bytes, *args):
3836
super().sendall(pack("<i", len(data)) + data)
3937

pyrogram/connection/transport/tcp/tcp_intermediate_o.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ def connect(self, address: tuple):
5656

5757
super().sendall(nonce)
5858

59-
log.info("Connected{}!".format(" with proxy" if self.proxy_enabled else ""))
60-
6159
def sendall(self, data: bytes, *args):
6260
super().sendall(
6361
AES.ctr256_encrypt(

0 commit comments

Comments
 (0)