Removed log statements to prevent log clutter
diff --git a/src/main/java/net/floodlightcontroller/onoslistener/OnosPublisher.java b/src/main/java/net/floodlightcontroller/onoslistener/OnosPublisher.java
index 9cb1c4f..36cde95 100644
--- a/src/main/java/net/floodlightcontroller/onoslistener/OnosPublisher.java
+++ b/src/main/java/net/floodlightcontroller/onoslistener/OnosPublisher.java
@@ -80,16 +80,15 @@
}
}
}
-
-
protected void switchCleanup() {
-
TopoSwitchServiceImpl impl = new TopoSwitchServiceImpl();
Iterable<ISwitchObject> switches = impl.getActiveSwitches();
+
+ log.debug("Checking for inactive switches");
// For each switch check if a controller exists in controller registry
for (ISwitchObject sw: switches) {
- log.debug("checking if switch is inactive: {}", sw.getDPID());
+ //log.debug("checking if switch is inactive: {}", sw.getDPID());
try {
long dpid = HexString.toLong(sw.getDPID());
String controller = registryService.getControllerForSwitch(dpid);