X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsamples%2Floadbalancer%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsamples%2Floadbalancer%2Finternal%2FLoadBalancerService.java;h=e1a997b44c010b2b4e8289f4a09f7750e5ee0e6e;hp=b2229cb022016b3e95fb3876474b8d221ae6be0d;hb=dad78e1fc8a7c67fa4b88cf09d6a952443462feb;hpb=24feaa3333de6eadfc99a63cce0f95479e3b5f96 diff --git a/opendaylight/samples/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/internal/LoadBalancerService.java b/opendaylight/samples/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/internal/LoadBalancerService.java index b2229cb022..e1a997b44c 100644 --- a/opendaylight/samples/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/internal/LoadBalancerService.java +++ b/opendaylight/samples/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/internal/LoadBalancerService.java @@ -268,14 +268,14 @@ public class LoadBalancerService implements IListenDataPacket, IConfigManager { forwardPort = hnConnector.getnodeConnector(); lbsLogger - .info("Both source (client) and destination pool machine is connected to same switch nodes. Respective ports are - {},{}", + .trace("Both source (client) and destination pool machine is connected to same switch nodes. Respective ports are - {},{}", forwardPort, inPkt.getIncomingNodeConnector()); } else { Path route = this.routing.getRoute(clientNode, destNode); - lbsLogger.info("Path between source (client) and destination switch nodes : {}", + lbsLogger.trace("Path between source (client) and destination switch nodes : {}", route.toString()); forwardPort = route.getEdges().get(0).getTailNodeConnector(); @@ -285,7 +285,7 @@ public class LoadBalancerService implements IListenDataPacket, IConfigManager { if (installLoadBalancerFlow(client, vip, clientNode, poolMemberIp, hnConnector.getDataLayerAddressBytes(), forwardPort, LBConst.FORWARD_DIRECTION_LB_FLOW)) { - lbsLogger.info("Traffic from client : {} will be routed " + "to pool machine : {}", + lbsLogger.trace("Traffic from client : {} will be routed " + "to pool machine : {}", client, poolMemberIp); } else { lbsLogger.error("Not able to route traffic from client : {}", client); @@ -293,7 +293,7 @@ public class LoadBalancerService implements IListenDataPacket, IConfigManager { if (installLoadBalancerFlow(client, vip, clientNode, poolMemberIp, vipMacAddr, inPkt.getIncomingNodeConnector(), LBConst.REVERSE_DIRECTION_LB_FLOW)) { - lbsLogger.info("Flow rule installed to change the source ip/mac from " + lbsLogger.trace("Flow rule installed to change the source ip/mac from " + "pool machine ip {} to VIP {} for traffic coming pool machine", poolMemberIp, vip); } else { @@ -389,7 +389,7 @@ public class LoadBalancerService implements IListenDataPacket, IConfigManager { FlowEntry fEntry = new FlowEntry(policyName, flowName, flow, sourceSwitch); - lbsLogger.info("Install flow entry {} on node {}", fEntry.toString(), sourceSwitch.toString()); + lbsLogger.trace("Install flow entry {} on node {}", fEntry.toString(), sourceSwitch.toString()); if (!this.ruleManager.checkFlowEntryConflict(fEntry)) { if (this.ruleManager.installFlowEntry(fEntry).isSuccess()) { @@ -413,13 +413,13 @@ public class LoadBalancerService implements IListenDataPacket, IConfigManager { if (props != null) { this.containerName = (String) props.get("containerName"); - lbsLogger.info("Running container name:" + this.containerName); + lbsLogger.trace("Running container name:" + this.containerName); } else { // In the Global instance case the containerName is empty this.containerName = ""; } - lbsLogger.info(configManager.toString()); + lbsLogger.trace(configManager.toString()); }