diff options
author | Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> | 2023-03-14 17:34:19 +0530 |
---|---|---|
committer | Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> | 2023-03-14 17:34:28 +0530 |
commit | f3ab13d054a29fd59da14b1a5ef6af4fed024fc9 (patch) | |
tree | f5d5be5728792bb4158d5b02ba0fcf5c12cd4dbe /sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh | |
parent | c82a57b8b435543aa27261df1b272af3892307ba (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/devicemanager-o-ran-sc/o-ran/ru-fh')
5 files changed, 10 insertions, 10 deletions
diff --git a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/DOMNotificationToXPath.java b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/DOMNotificationToXPath.java index abe89df7a..3d7353328 100644 --- a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/DOMNotificationToXPath.java +++ b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/DOMNotificationToXPath.java @@ -224,10 +224,10 @@ public class DOMNotificationToXPath { Instant eventTime; if (domNotification instanceof DOMEvent) { eventTime = ((DOMEvent) domNotification).getEventInstant(); - LOG.info("Event time {}", eventTime); + LOG.debug("Event time {}", eventTime); } else { eventTime = Instant.now(); - LOG.info("Defaulting to actual time of processing the notification - {}", eventTime); + LOG.debug("Defaulting to actual time of processing the notification - {}", eventTime); } return eventTime; } diff --git a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMChangeNotificationListener.java b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMChangeNotificationListener.java index 39eabcdc6..f8e8b6da2 100644 --- a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMChangeNotificationListener.java +++ b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMChangeNotificationListener.java @@ -134,7 +134,7 @@ public class ORanDOMChangeNotificationListener implements DOMNotificationListene VESNotificationFieldsPOJO body = mapper.createVESNotificationFields(domNotificationXPath.convertDomNotifToXPath(domNotification), ORanDeviceManagerQNames.IETF_NETCONF_NOTIFICATIONS_NETCONF_CONFIG_CHANGE.getLocalName()); - log.info("domNotification in XPath format = {}", + log.debug("domNotification in XPath format = {}", domNotificationXPath.convertDomNotifToXPath(domNotification)); try { vesCollectorService.publishVESMessage(vesCollectorService.generateVESEvent(header, body)); diff --git a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMFaultNotificationListener.java b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMFaultNotificationListener.java index 494a01f71..3e6921272 100644 --- a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMFaultNotificationListener.java +++ b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMFaultNotificationListener.java @@ -115,7 +115,7 @@ public class ORanDOMFaultNotificationListener implements DOMNotificationListener VESFaultFieldsPOJO body = mapper.mapFaultFields(notification); VESMessage vesMsg = vesCollectorService.generateVESEvent(header, body); vesCollectorService.publishVESMessage(vesMsg); - LOG.info("VES Message is {}", vesMsg.getMessage()); + LOG.debug("VES Message is {}", vesMsg.getMessage()); writeToEventLog(vesMsg.getMessage(), eventTimeInstant, ORanDeviceManagerQNames.ORAN_FM_ALARM_NOTIF.getLocalName(), counter); } } catch (JsonProcessingException | DateTimeParseException e) { diff --git a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMNetworkElement.java b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMNetworkElement.java index 9b4f11e27..88a470f3f 100644 --- a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMNetworkElement.java +++ b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMNetworkElement.java @@ -77,7 +77,7 @@ public class ORanDOMNetworkElement implements NetworkElement { public ORanDOMNetworkElement(@NonNull NetconfDomAccessor netconfDomAccessor, @NonNull DeviceManagerServiceProvider serviceProvider) { - LOG.info("Create {}", ORanDOMNetworkElement.class.getSimpleName()); + LOG.debug("Create {}", ORanDOMNetworkElement.class.getSimpleName()); this.netconfDomAccessor = Objects.requireNonNull(netconfDomAccessor); Objects.requireNonNull(serviceProvider); this.databaseService = serviceProvider.getDataProvider(); @@ -199,7 +199,7 @@ public class ORanDOMNetworkElement implements NetworkElement { * @return NormalizedNode data with GUI cut through information or null if not available. */ private @Nullable NormalizedNode getOnapSystemData() { - LOG.info("Get System1 for mountpoint {}", netconfDomAccessor.getNodeId().getValue()); + LOG.debug("Get System1 for mountpoint {}", netconfDomAccessor.getNodeId().getValue()); @NonNull InstanceIdentifierBuilder ietfSystemIID = YangInstanceIdentifier.builder().node(ORanDeviceManagerQNames.IETF_SYSTEM_CONTAINER); @@ -209,7 +209,7 @@ public class ORanDOMNetworkElement implements NetworkElement { InstanceIdentifierBuilder augmentedOnapSystem = YangInstanceIdentifier.builder(ietfSystemIID.build()).node(onapSystemIID); Capabilities x = netconfDomAccessor.getCapabilites(); - LOG.info("Capabilites: {}", x); + LOG.debug("Capabilites: {}", x); if (x.isSupportingNamespace(ORanDeviceManagerQNames.ONAP_SYSTEM_QNAME)) { Optional<NormalizedNode> res = netconfDomAccessor.readDataNode(LogicalDatastoreType.OPERATIONAL, augmentedOnapSystem.build()); @@ -268,14 +268,14 @@ public class ORanDOMNetworkElement implements NetworkElement { String deviceName = ORanDMDOMUtility.getLeafValue(device, ORanDeviceManagerQNames.CALLHOME_SERVER_ALLOWED_DEVICE_KEY); if (deviceName != null && deviceName.equals(mountpointName)) { - LOG.info("Mountpoint {} is part of allowed-devices list", mountpointName); + LOG.debug("Mountpoint {} is part of allowed-devices list", mountpointName); return true; } } } } - LOG.info("Mountpoint {} is not part of allowed-devices list", mountpointName); + LOG.debug("Mountpoint {} is not part of allowed-devices list", mountpointName); return false; } diff --git a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMNotifToVESEventAssembly.java b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMNotifToVESEventAssembly.java index b8b5151fe..7a2cd43cf 100644 --- a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMNotifToVESEventAssembly.java +++ b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/ORanDOMNotifToVESEventAssembly.java @@ -88,7 +88,7 @@ public class ORanDOMNotifToVESEventAssembly { Entry<String, String> pair = it.next(); buf.append("\n" + pair.getKey() + " = " + pair.getValue()); } - log.info("Resultlist({}):{}", xPathFields.size(), buf.toString()); + log.debug("Resultlist({}):{}", xPathFields.size(), buf.toString()); ArrayList<HashMap<String, Object>> arrayOfNamedHashMap = new ArrayList<HashMap<String, Object>>(); HashMap<String, Object> namedHashMap = new HashMap<String, Object>(); |