Move peer thread monitor logging to level INFO

This commit is contained in:
nicksavers 2014-10-03 17:57:07 +02:00
parent b5b7dde0bd
commit 2ec44a6166
1 changed files with 2 additions and 2 deletions

View File

@ -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);