Change log levels to reduce the amount of logs generated
[ccsdk/features.git] / sdnr / wt / netconfnode-state-service / provider / src / main / java / org / onap / ccsdk / features / sdnr / wt / netconfnodestateservice / impl / access / binding / NetconfBindingAccessorImpl.java
index b36e476..7806419 100644 (file)
@@ -98,13 +98,13 @@ public class NetconfBindingAccessorImpl extends NetconfAccessorImpl implements N
     @Override
     public @NonNull <T extends NotificationListener> ListenerRegistration<NotificationListener> doRegisterNotificationListener(
             @NonNull T listener) {
-        log.info("Begin register listener for Mountpoint {}", mountpoint.getIdentifier().toString());
+        log.debug("Begin register listener for Mountpoint {}", mountpoint.getIdentifier().toString());
         final Optional<NotificationService> optionalNotificationService =
                 mountpoint.getService(NotificationService.class);
         final NotificationService notificationService = optionalNotificationService.get();
         final ListenerRegistration<NotificationListener> ranListenerRegistration =
                 notificationService.registerNotificationListener(listener);
-        log.info("End registration listener for Mountpoint {} Listener: {} Result: {}",
+        log.debug("End registration listener for Mountpoint {} Listener: {} Result: {}",
                 mountpoint.getIdentifier().toString(), optionalNotificationService, ranListenerRegistration);
         return ranListenerRegistration;
     }
@@ -116,7 +116,7 @@ public class NetconfBindingAccessorImpl extends NetconfAccessorImpl implements N
         if (streamName != null) {
             createSubscriptionInputBuilder.setStream(new StreamNameType(streamName));
         }
-        log.info("Event listener triggering notification stream '{}' for node {}", streamName, getNodeId());
+        log.debug("Event listener triggering notification stream '{}' for node {}", streamName, getNodeId());
         return mountpointNotificationService.createSubscription(createSubscriptionInputBuilder.build());
     }
 
@@ -132,7 +132,7 @@ public class NetconfBindingAccessorImpl extends NetconfAccessorImpl implements N
             StreamNameType streamName = stream.getName();
             if (streamName != null) {
                 String streamNameValue = stream.getName().getValue();
-                log.info("Stream Name = {}, Stream Description = {}", streamNameValue, stream.getDescription());
+                log.debug("Stream Name = {}, Stream Description = {}", streamNameValue, stream.getDescription());
                 if (!(streamNameValue.equals(DefaultNotificationsStream)))
                     // Register any not default stream. Default stream is already registered
                     registerNotificationsStream(streamNameValue);