diff --git a/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/Downloader.java b/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/Downloader.java index 4ad33c4162..72620dbfe7 100644 --- a/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/Downloader.java +++ b/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/Downloader.java @@ -151,7 +151,7 @@ public class Downloader { if (peerTd.compareTo(syncState.chainHeadTotalDifficulty()) <= 0 && peerHeight <= syncState.chainHeadNumber()) { // We're caught up to our best peer, try again when a new peer connects - LOG.info("Caught up to best peer: " + bestPeer.chainState().getEstimatedHeight()); + LOG.debug("Caught up to best peer: " + bestPeer.chainState().getEstimatedHeight()); return waitForPeerAndThenSetSyncTarget(); } return DetermineCommonAncestorTask.create( diff --git a/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/tasks/GetBlockFromPeerTask.java b/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/tasks/GetBlockFromPeerTask.java index 90507aa91f..4b36c0cc21 100644 --- a/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/tasks/GetBlockFromPeerTask.java +++ b/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/tasks/GetBlockFromPeerTask.java @@ -49,7 +49,7 @@ public class GetBlockFromPeerTask extends AbstractPeerTask { @Override protected void executeTaskWithPeer(final EthPeer peer) throws PeerNotConnected { - LOG.info("Downloading block {} from peer {}.", hash, peer); + LOG.debug("Downloading block {} from peer {}.", hash, peer); downloadHeader(peer) .thenCompose(this::completeBlock) .whenComplete( @@ -61,7 +61,7 @@ public class GetBlockFromPeerTask extends AbstractPeerTask { LOG.info("Failed to download block {} from peer {}.", hash, peer); result.get().completeExceptionally(new IncompleteResultsException()); } else { - LOG.info("Successfully downloaded block {} from peer {}.", hash, peer); + LOG.debug("Successfully downloaded block {} from peer {}.", hash, peer); result.get().complete(new PeerTaskResult<>(r.getPeer(), r.getResult().get(0))); } }); diff --git a/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/tasks/WaitForPeerTask.java b/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/tasks/WaitForPeerTask.java index 607238bf5e..6492172b13 100644 --- a/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/tasks/WaitForPeerTask.java +++ b/ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/sync/tasks/WaitForPeerTask.java @@ -37,7 +37,7 @@ public class WaitForPeerTask extends AbstractEthTask { @Override protected void executeTask() { final EthPeers ethPeers = ethContext.getEthPeers(); - LOG.info( + LOG.debug( "Waiting for new peer connection. {} peers currently connected, {} idle.", ethPeers.peerCount(), ethPeers.idlePeer().isPresent() ? "Some peers" : "No peers"); @@ -45,7 +45,7 @@ public class WaitForPeerTask extends AbstractEthTask { peerListenerId = ethPeers.subscribeConnect( (peer) -> { - LOG.info("Finished waiting for peer connection."); + LOG.debug("Finished waiting for peer connection."); // We hit our target result.get().complete(null); });