diff options
Diffstat (limited to 'sdnr/wt/mountpoint-state-provider/provider/src')
2 files changed, 4 insertions, 4 deletions
diff --git a/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointNodeStateListenerImpl.java b/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointNodeStateListenerImpl.java index ea5232d59..1f8cee10d 100644 --- a/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointNodeStateListenerImpl.java +++ b/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointNodeStateListenerImpl.java @@ -49,7 +49,7 @@ public class MountpointNodeStateListenerImpl implements NetconfNodeStateListener public void onCreated(NodeId nNodeId, NetconfNode netconfNode) { Ipv4Address ipv4Address = netconfNode.getHost().getIpAddress().getIpv4Address(); Ipv6Address ipv6Address = netconfNode.getHost().getIpAddress().getIpv6Address(); - LOG.info("In onCreated of MountpointNodeStateListenerImpl - nNodeId = {}, IP Address = {}",nNodeId.getValue(), + LOG.debug("In onCreated of MountpointNodeStateListenerImpl - nNodeId = {}, IP Address = {}",nNodeId.getValue(), ipv4Address != null?ipv4Address.getValue():ipv6Address.getValue()); JSONObject obj = new JSONObject(); obj.put(Constants.NODEID, nNodeId.getValue()); @@ -63,7 +63,7 @@ public class MountpointNodeStateListenerImpl implements NetconfNodeStateListener public void onStateChange(NodeId nNodeId, NetconfNode netconfNode) { Ipv4Address ipv4Address = netconfNode.getHost().getIpAddress().getIpv4Address(); Ipv6Address ipv6Address = netconfNode.getHost().getIpAddress().getIpv6Address(); - LOG.info("In onStateChange of MountpointNodeStateListenerImpl - nNodeId = {}, IP Address = {}",nNodeId.getValue(), + LOG.debug("In onStateChange of MountpointNodeStateListenerImpl - nNodeId = {}, IP Address = {}",nNodeId.getValue(), ipv4Address != null?ipv4Address.getValue():ipv6Address.getValue()); JSONObject obj = new JSONObject(); obj.put(Constants.NODEID, nNodeId.getValue()); @@ -76,7 +76,7 @@ public class MountpointNodeStateListenerImpl implements NetconfNodeStateListener @Override public void onRemoved(NodeId nNodeId) { - LOG.info("In onRemoved of MountpointNodeStateListenerImpl - nNodeId = {}",nNodeId); + LOG.debug("In onRemoved of MountpointNodeStateListenerImpl - nNodeId = {}",nNodeId); JSONObject obj = new JSONObject(); obj.put(Constants.NODEID, nNodeId.getValue()); obj.put(Constants.NETCONFNODESTATE, "Removed"); diff --git a/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointStateVESMessageFormatter.java b/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointStateVESMessageFormatter.java index 01a8d49ff..ad5198f2f 100644 --- a/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointStateVESMessageFormatter.java +++ b/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointStateVESMessageFormatter.java @@ -66,7 +66,7 @@ public class MountpointStateVESMessageFormatter { VESMessage vesMsg = null; try { vesMsg = vesCollectorService.generateVESEvent(vesCommonEventHeader, vesNotificationFields); - LOG.info("VES Message is - {}", vesMsg.getMessage()); + LOG.debug("VES Message is - {}", vesMsg.getMessage()); } catch (JsonProcessingException e) { LOG.error("Exception while generating VES Event - ", e); } |