Added log4j logger and removed obvious comments

This commit is contained in:
Edward Capriolo
2015-01-09 14:32:30 -05:00
parent bf5b777808
commit 980e3f51e9
8 changed files with 118 additions and 205 deletions

View File

@ -22,7 +22,6 @@ abstract public class ActiveGossipThread implements Runnable {
public ActiveGossipThread(GossipManager gossipManager) {
_gossipManager = gossipManager;
_keepRunning = new AtomicBoolean(true);
}
@ -33,9 +32,7 @@ abstract public class ActiveGossipThread implements Runnable {
TimeUnit.MILLISECONDS.sleep(_gossipManager.getSettings().getGossipInterval());
sendMembershipList(_gossipManager.getMyself(), _gossipManager.getMemberList());
} catch (InterruptedException e) {
// This membership thread was interrupted externally, shutdown
GossipService.debug("The ActiveGossipThread was interrupted externally, shutdown.");
e.printStackTrace();
GossipService.LOGGER.error(e);
_keepRunning.set(false);
}
}