From 2ec44a61665b2db5756eaa7bc161bb6e80828fe6 Mon Sep 17 00:00:00 2001 From: nicksavers Date: Fri, 3 Oct 2014 17:57:07 +0200 Subject: [PATCH] Move peer thread monitor logging to level INFO --- .../main/java/org/ethereum/net/client/PeerMonitorThread.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethereumj-core/src/main/java/org/ethereum/net/client/PeerMonitorThread.java b/ethereumj-core/src/main/java/org/ethereum/net/client/PeerMonitorThread.java index 1724d2b0..f8e8b5bf 100644 --- a/ethereumj-core/src/main/java/org/ethereum/net/client/PeerMonitorThread.java +++ b/ethereumj-core/src/main/java/org/ethereum/net/client/PeerMonitorThread.java @@ -27,7 +27,7 @@ public class PeerMonitorThread implements Runnable { @Override public void run() { while (run) { - if (logger.isDebugEnabled()) { + if (logger.isInfoEnabled()) { toStringBuff.setLength(0); toStringBuff.append("[monitor] ["); toStringBuff.append(this.executor.getPoolSize()); @@ -46,7 +46,7 @@ public class PeerMonitorThread implements Runnable { toStringBuff.append(", peersDiscovered: "); toStringBuff.append(WorldManager.getInstance() .getPeerDiscovery().getPeers().size()); - logger.trace(toStringBuff.toString()); + logger.info(toStringBuff.toString()); } try { Thread.sleep(seconds * 1000);