forked from Qortal/qortal
Reduced log levels
This commit is contained in:
parent
8a828137ee
commit
06215c83f2
@ -662,9 +662,9 @@ public class Network {
|
|||||||
// Notify Controller
|
// Notify Controller
|
||||||
Controller.getInstance().onPeerDisconnect(peer);
|
Controller.getInstance().onPeerDisconnect(peer);
|
||||||
if (peer.getConnectionEstablishedTime() > 0L) {
|
if (peer.getConnectionEstablishedTime() > 0L) {
|
||||||
LOGGER.info("[{}] Disconnected from peer {}", peer.getPeerConnectionId(), peer);
|
LOGGER.debug("[{}] Disconnected from peer {}", peer.getPeerConnectionId(), peer);
|
||||||
} else {
|
} else {
|
||||||
LOGGER.warn("[{}] Failed to connect to peer {}", peer.getPeerConnectionId(), peer);
|
LOGGER.debug("[{}] Failed to connect to peer {}", peer.getPeerConnectionId(), peer);
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (this.connectedPeers) {
|
synchronized (this.connectedPeers) {
|
||||||
@ -817,7 +817,7 @@ public class Network {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void onHandshakeCompleted(Peer peer) {
|
protected void onHandshakeCompleted(Peer peer) {
|
||||||
LOGGER.info("[{}] Handshake completed with peer {} on {}", peer.getPeerConnectionId(), peer,
|
LOGGER.debug("[{}] Handshake completed with peer {} on {}", peer.getPeerConnectionId(), peer,
|
||||||
peer.getPeersVersionString());
|
peer.getPeersVersionString());
|
||||||
|
|
||||||
// Are we already connected to this peer?
|
// Are we already connected to this peer?
|
||||||
|
Loading…
Reference in New Issue
Block a user