Reduce info logging in VpnUtils.getRts 20/78320/2
authorTom Pantelis <tompantelis@gmail.com>
Fri, 30 Nov 2018 14:22:43 +0000 (09:22 -0500)
committerStephen Kitt <skitt@redhat.com>
Tue, 4 Dec 2018 17:21:07 +0000 (17:21 +0000)
The JFR trace in ODLPARENT-176 shows VpnUtil.getRts is a heavy
hitter so reduce the info logging to debug.

Change-Id: Iefe9d7980cf6614dabca442bf786c8c843b65697
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/VpnUtil.java

index f5655253986a504ee1827b9b4e3458b728454136..c486d3a0ed6deb4e0be3b6897bf4eaec89e33906 100644 (file)
@@ -1730,12 +1730,12 @@ public final class VpnUtil {
         List<String> rts = new ArrayList<>();
         VpnTargets targets = vpnInstance.getVpnTargets();
         if (targets == null) {
-            LOG.info("getRts: vpn targets not available for {}", name);
+            LOG.debug("getRts: vpn targets not available for {}", name);
             return rts;
         }
         List<VpnTarget> vpnTargets = targets.getVpnTarget();
         if (vpnTargets == null) {
-            LOG.info("getRts: vpnTarget values not available for {}", name);
+            LOG.debug("getRts: vpnTarget values not available for {}", name);
             return rts;
         }
         for (VpnTarget target : vpnTargets) {