Downgrade log to trace when no switches connected
diff --git a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowManager.java b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowManager.java
index 65405e4..2b3b0f2 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowManager.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowManager.java
@@ -128,7 +128,7 @@
Map<Long, IOFSwitch> mySwitches =
floodlightProvider.getSwitches();
if (mySwitches.isEmpty()) {
- log.debug("No switches controlled");
+ log.trace("No switches controlled");
return;
}
LinkedList<IFlowEntry> addFlowEntries =
@@ -272,7 +272,7 @@
Map<Long, IOFSwitch> mySwitches =
floodlightProvider.getSwitches();
if (mySwitches.isEmpty()) {
- log.debug("No switches controlled");
+ log.trace("No switches controlled");
return;
}
LinkedList<IFlowPath> deleteFlows = new LinkedList<IFlowPath>();