Skip to content
Snippets Groups Projects
Commit e4fdabd7 authored by Ryan Izard's avatar Ryan Izard
Browse files

Change log level of ACL to debug for all logs except REST API. Info produces...

Change log level of ACL to debug for all logs except REST API. Info produces too much debug output for some of these, especially when the ACL is not being actively used.
parent da4a847a
No related branches found
No related tags found
No related merge requests found
...@@ -143,10 +143,10 @@ public class ACL implements IACLService, IFloodlightModule, IDeviceListener { ...@@ -143,10 +143,10 @@ public class ACL implements IACLService, IFloodlightModule, IDeviceListener {
while (ruleIdIter.hasNext()) { while (ruleIdIter.hasNext()) {
int ruleId = ruleIdIter.next(); int ruleId = ruleIdIter.next();
Set<String> flowNameSet = ruleId2FlowName.get(ruleId); Set<String> flowNameSet = ruleId2FlowName.get(ruleId);
logger.info("No.{} ACL rule removed.", ruleId); logger.debug("No.{} ACL rule removed.", ruleId);
for (String flowName : flowNameSet) { for (String flowName : flowNameSet) {
removeFlow(flowName); removeFlow(flowName);
logger.info("ACL flow {} removed.", flowName); logger.debug("ACL flow {} removed.", flowName);
} }
} }
this.ruleId2FlowName = new HashMap<Integer, Set<String>>(); this.ruleId2FlowName = new HashMap<Integer, Set<String>>();
...@@ -187,7 +187,7 @@ public class ACL implements IACLService, IFloodlightModule, IDeviceListener { ...@@ -187,7 +187,7 @@ public class ACL implements IACLService, IFloodlightModule, IDeviceListener {
while (iter.hasNext()) { while (iter.hasNext()) {
String name = iter.next(); String name = iter.next();
removeFlow(name); removeFlow(name);
logger.info("ACL flow " + name + " removed."); logger.debug("ACL flow " + name + " removed.");
} }
} }
...@@ -333,7 +333,7 @@ public class ACL implements IACLService, IFloodlightModule, IDeviceListener { ...@@ -333,7 +333,7 @@ public class ACL implements IACLService, IFloodlightModule, IDeviceListener {
} }
String dpid = HexString.toHexString(switchPort[0].getSwitchDPID().getLong()); String dpid = HexString.toHexString(switchPort[0].getSwitchDPID().getLong());
String ip = IPv4.fromIPv4Address(ips[0].getInt()); String ip = IPv4.fromIPv4Address(ips[0].getInt());
logger.info("New AP added. [dpid:" + dpid + " ip:" + ip + "]"); logger.debug("New AP added. [dpid:" + dpid + " ip:" + ip + "]");
AP ap = new AP(ip,dpid); AP ap = new AP(ip,dpid);
apManager.addAP(ap); apManager.addAP(ap);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment