Change log level in MappingUtilsImpl 47/99547/12
authorGilles Thouenon <gilles.thouenon@orange.com>
Tue, 1 Feb 2022 16:50:20 +0000 (17:50 +0100)
committermanuedelf <emmanuelle.delfour@orange.com>
Fri, 17 Jun 2022 10:13:22 +0000 (12:13 +0200)
Change part of log messages from info to debug.

JIRA: TRNSPRTPCE-570
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ia93d80cdd738a87353dfa39ca357935581f85bd8

common/src/main/java/org/opendaylight/transportpce/common/mapping/MappingUtilsImpl.java

index 0bbfbe8936030edd0158f2efdb90dd2d393c51aa..d1f7292c3ee4386925326e834b87fde6e2c28aca 100644 (file)
@@ -118,7 +118,7 @@ public class MappingUtilsImpl implements MappingUtils {
             Optional<Nodes> nodePortMapObject = readTx.read(LogicalDatastoreType.CONFIGURATION, nodePortMappingIID)
                     .get();
             if (nodePortMapObject.isPresent()) {
-                LOG.info("Found node {}", nodeId);
+                LOG.debug("Found node {}", nodeId);
                 Nodes node = nodePortMapObject.get();
                 mcCapabilities.addAll(node.nonnullMcCapabilities().values());
             }
@@ -128,7 +128,7 @@ public class MappingUtilsImpl implements MappingUtils {
             LOG.error("Request interrupted for node {} interrupted", nodeId, e);
             Thread.currentThread().interrupt();
         }
-        LOG.info("Capabilitities for node {}: {}", nodeId, mcCapabilities);
+        LOG.debug("Capabilitities for node {}: {}", nodeId, mcCapabilities);
         return mcCapabilities;
     }