summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/mountpoint-state-provider/provider
diff options
context:
space:
mode:
authorRavi Pendurty <ravi.pendurty@highstreet-technologies.com>2023-03-14 17:34:19 +0530
committerRavi Pendurty <ravi.pendurty@highstreet-technologies.com>2023-03-14 17:34:28 +0530
commitf3ab13d054a29fd59da14b1a5ef6af4fed024fc9 (patch)
treef5d5be5728792bb4158d5b02ba0fcf5c12cd4dbe /sdnr/wt/mountpoint-state-provider/provider
parentc82a57b8b435543aa27261df1b272af3892307ba (diff)
Change log levels to reduce the amount of logs generated
log level changed from INFO to DEBUG Issue-ID: CCSDK-3867 Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> Change-Id: I1a9d4890d92da444694b253c4b72f10862472953 Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/mountpoint-state-provider/provider')
-rw-r--r--sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointNodeStateListenerImpl.java6
-rw-r--r--sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointStateVESMessageFormatter.java2
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);
}