mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +00:00
Reduce logging level to debug in TCPListener.listen()
This commit is contained in:
committed by
Paul Robinson
parent
bb21af7694
commit
745458cdff
@ -70,7 +70,7 @@ class TCPListener(IListener):
|
|||||||
remote_host,remote_port = tcp_stream.get_remote_address()
|
remote_host,remote_port = tcp_stream.get_remote_address()
|
||||||
await self.handler(tcp_stream)
|
await self.handler(tcp_stream)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Connection from {remote_host}:{remote_port} failed.")
|
logger.debug(f"Connection from {remote_host}:{remote_port} failed.")
|
||||||
|
|
||||||
listeners = await nursery.start(
|
listeners = await nursery.start(
|
||||||
serve_tcp,
|
serve_tcp,
|
||||||
|
|||||||
Reference in New Issue
Block a user