Madan Jampani
Committed by Gerrit Code Review

Removed dead code + Dropped log level down to debug to reduce verbosity

Change-Id: I565775261a63b391011e1b341903390a9f26b6a6
......@@ -31,7 +31,6 @@ import net.kuujo.copycat.cluster.internal.coordinator.DefaultClusterCoordinator;
import net.kuujo.copycat.log.BufferedLog;
import net.kuujo.copycat.log.FileLog;
import net.kuujo.copycat.log.Log;
import net.kuujo.copycat.netty.NettyTcpProtocol;
import net.kuujo.copycat.protocol.Consistency;
import net.kuujo.copycat.protocol.Protocol;
import net.kuujo.copycat.util.concurrent.NamedThreadFactory;
......@@ -233,19 +232,6 @@ public class DatabaseManager implements StorageService, StorageAdminService {
.collect(Collectors.toList());
}
@SuppressWarnings("unused")
private Protocol newNettyProtocol() {
return new NettyTcpProtocol()
.withSsl(false)
.withConnectTimeout(60000)
.withAcceptBacklog(1024)
.withTrafficClass(-1)
.withSoLinger(-1)
.withReceiveBufferSize(32768)
.withSendBufferSize(8192)
.withThreads(1);
}
private Log newPersistentLog() {
String logDir = System.getProperty("karaf.data", "./data");
return new FileLog()
......
......@@ -158,7 +158,7 @@ public class OpenFlowDeviceProvider extends AbstractProvider implements DevicePr
@Override
public void triggerProbe(DeviceId deviceId) {
LOG.info("Triggering probe on device {}", deviceId);
LOG.debug("Triggering probe on device {}", deviceId);
final Dpid dpid = dpid(deviceId.uri());
OpenFlowSwitch sw = controller.getSwitch(dpid);
......@@ -199,7 +199,7 @@ public class OpenFlowDeviceProvider extends AbstractProvider implements DevicePr
LOG.error("Unknown Mastership state : {}", newRole);
}
LOG.info("Accepting mastership role change for device {}", deviceId);
LOG.debug("Accepting mastership role change for device {}", deviceId);
}
private void pushPortMetrics(Dpid dpid, List<OFPortStatsEntry> portStatsEntries) {
......