summaryrefslogtreecommitdiffstats
path: root/testsuites/integration
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2021-07-28 17:21:35 +0100
committerAjith Sreekumar <ajith.sreekumar@bell.ca>2021-08-03 09:09:16 +0000
commit05fd9b0614a532fe529ce22a8bb5fabd62a3d5aa (patch)
tree986ff015505e88b009d9e0f28fbb5d10e8b726de /testsuites/integration
parent27989fda75e371eac840b55d847e7b27129df906 (diff)
Improve APEX logging for irrelevant events
When multiple policies are expecting event on the same topic/endpoint, a lot of event parsing failure log messages are generated unnecessarily. With this change, only a 1 line message will be printed if an event cannot be parsed, and the detailed messages will be available at debug level. Change-Id: If1e7460ef5ed86fd470396f1e2ed8cc3c8af70c4 Issue-ID: POLICY-3499 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit 1036206455218a4722079b749e628ca96825418d)
Diffstat (limited to 'testsuites/integration')
-rw-r--r--testsuites/integration/integration-uservice-test/src/test/resources/logback-test.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/integration/integration-uservice-test/src/test/resources/logback-test.xml b/testsuites/integration/integration-uservice-test/src/test/resources/logback-test.xml
index 341a9fdaa..1fa56526f 100644
--- a/testsuites/integration/integration-uservice-test/src/test/resources/logback-test.xml
+++ b/testsuites/integration/integration-uservice-test/src/test/resources/logback-test.xml
@@ -3,6 +3,7 @@
============LICENSE_START=======================================================
Copyright (C) 2016-2018 Ericsson. All rights reserved.
Modifications Copyright (C) 2020 Nordix Foundation.
+ Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -36,7 +37,7 @@
</root>
- <logger name="org.onap.policy.apex" level="INFO" additivity="false">
+ <logger name="org.onap.policy.apex" level="DEBUG" additivity="false">
<appender-ref ref="STDOUT" />
</logger>