Skip to content

Commit 745458c

Browse files
ramelipacrob
authored andcommitted
Reduce logging level to debug in TCPListener.listen()
1 parent bb21af7 commit 745458c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libp2p/transport/tcp/tcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def handler(stream: trio.SocketStream) -> None:
7070
remote_host,remote_port = tcp_stream.get_remote_address()
7171
await self.handler(tcp_stream)
7272
except Exception as e:
73-
logger.error(f"Connection from {remote_host}:{remote_port} failed.")
73+
logger.debug(f"Connection from {remote_host}:{remote_port} failed.")
7474

7575
listeners = await nursery.start(
7676
serve_tcp,

0 commit comments

Comments
 (0)