mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-22 06:21:47 +01:00
NioClientManager: reduce logging for the happy path
It's up to higher-level classes like Peer to provide reasonable logging for successful connections.
This commit is contained in:
parent
9e143a919e
commit
9bf97c997b
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class NioClientManager extends AbstractExecutionThreadService implements
|
|||
ConnectionHandler handler = new ConnectionHandler(connection, key, connectedHandlers);
|
||||
try {
|
||||
if (sc.finishConnect()) {
|
||||
log.info("Connected to {}", sc.socket().getRemoteSocketAddress());
|
||||
log.debug("Connected to {}", sc.socket().getRemoteSocketAddress());
|
||||
key.interestOps((key.interestOps() | SelectionKey.OP_READ) & ~SelectionKey.OP_CONNECT).attach(handler);
|
||||
connection.connectionOpened();
|
||||
data.future.complete(data.address);
|
||||
|
|
Loading…
Add table
Reference in a new issue