Skip to content

Commit

Permalink
Remove connection logspam
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Aug 11, 2023
1 parent 34b342c commit 9d7f163
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/peergos/HostBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ public static Host build(PrivKey privKey,
b.getNetwork().listen(listenAddr);
}

b.getConnectionHandlers().add(conn -> System.out.println(conn.localAddress() +
" received connection from " + conn.remoteAddress() +
" on transport " + conn.transport()));
// b.getConnectionHandlers().add(conn -> System.out.println(conn.localAddress() +
// " received connection from " + conn.remoteAddress() +
// " on transport " + conn.transport()));
});
for (ProtocolBinding protocol : protocols) {
if (protocol instanceof HostConsumer)
Expand Down

0 comments on commit 9d7f163

Please sign in to comment.