Reduce "Block creation processed cancelled" log message to debug so it doesn't print every time we import a block. (#294)

Adrian Sutton 6 years ago committed by GitHub
parent f89bb81176
commit 56e5f7e2a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethereum/blockcreation/src/main/java/tech/pegasys/pantheon/ethereum/blockcreation/BlockMiner.java

@ -70,7 +70,7 @@ public class BlockMiner<C, M extends AbstractBlockCreator<C>> implements Runnabl
try { try {
blockMined = mineBlock(); blockMined = mineBlock();
} catch (final CancellationException ex) { } catch (final CancellationException ex) {
LOG.info("Block creation process cancelled."); LOG.debug("Block creation process cancelled.");
break; break;
} catch (final InterruptedException ex) { } catch (final InterruptedException ex) {
LOG.error("Block mining was interrupted.", ex); LOG.error("Block mining was interrupted.", ex);

Loading…
Cancel
Save