aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml
diff options
context:
space:
mode:
authorgregory.hayes <gregory.hayes@est.tech>2020-12-09 20:42:33 +0000
committerRam Krishna Verma <ram_krishna.verma@bell.ca>2021-01-14 18:13:21 +0000
commit1d8c0b31951df408eb7aebcac48ddae97205d2b8 (patch)
tree70c2888cf7ee6c6f2a7e6a2badb8043f7f2c3e67 /plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml
parent880b06a9924251681e87e4068b40ae26eb93ce29 (diff)
Prune superfluous log and exception messages
Large volume exception messages should not be repeated in log messages or in rethrown exceptions. Jira-Link: https://jira.onap.org/browse/POLICY-2885 Issue-ID: POLICY-2885 Signed-off-by: gregory.hayes <gregory.hayes@est.tech> Change-Id: I345531d3a7640cc5ad9dbfc367052b9c8cc19387 (cherry picked from commit a3979b8a14f6e67de406b29c3e0ad0c516c3bc54)
Diffstat (limited to 'plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml')
-rw-r--r--plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/src/main/java/org/onap/policy/apex/plugins/event/protocol/xml/Apex2XmlEventConverter.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/src/main/java/org/onap/policy/apex/plugins/event/protocol/xml/Apex2XmlEventConverter.java b/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/src/main/java/org/onap/policy/apex/plugins/event/protocol/xml/Apex2XmlEventConverter.java
index 44f010cd0..0f6735e0e 100644
--- a/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/src/main/java/org/onap/policy/apex/plugins/event/protocol/xml/Apex2XmlEventConverter.java
+++ b/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-xml/src/main/java/org/onap/policy/apex/plugins/event/protocol/xml/Apex2XmlEventConverter.java
@@ -130,7 +130,6 @@ public final class Apex2XmlEventConverter implements ApexEventProtocolConverter
final JAXBElement<XMLApexEvent> rootElement = unmarshaller.unmarshal(source, XMLApexEvent.class);
xmlApexEvent = rootElement.getValue();
} catch (final JAXBException e) {
- LOGGER.warn("Unable to unmarshal Apex XML event\n" + xmlEventString, e);
throw new ApexEventException("Unable to unmarshal Apex XML event\n" + xmlEventString, e);
}