Cleanup connection info logs
This commit is contained in:
parent
826f815ca3
commit
a3e46b4957
@ -18,7 +18,6 @@
|
||||
|
||||
import asyncio
|
||||
import logging
|
||||
|
||||
from typing import Optional
|
||||
|
||||
from .transport import *
|
||||
@ -61,13 +60,12 @@ class Connection:
|
||||
self.protocol.close()
|
||||
await asyncio.sleep(1)
|
||||
else:
|
||||
log.info("Connected! {} DC{} - IPv{} - {}{} {}".format(
|
||||
log.info("Connected! {} DC{}{} - IPv{} - {}".format(
|
||||
"Test" if self.test_mode else "Production",
|
||||
self.dc_id,
|
||||
" (media)" if self.media else "",
|
||||
"6" if self.ipv6 else "4",
|
||||
self.mode.__name__,
|
||||
" (media)" if self.media else "",
|
||||
self.address
|
||||
))
|
||||
break
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user