aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2019-11-26 14:31:28 +0000
committerliamfallon <liam.fallon@est.tech>2019-11-26 14:39:59 +0000
commit8a3a78067eb678f3e51e2199a57b713e3ffcfb29 (patch)
tree3e29726e0ef38d3e1fb25fd6ec7c0703ba2904ec /examples
parent0b98743df167bf38a874f00be730375b7d1558d7 (diff)
Reduce verbosity of logging during unit test
Logging dialled back in logback.xml files and on ligging statements in unit test java code. Issue-ID: POLICY-2272 Change-Id: I3b9a46d8993b1571c8dc62687a9c136af46c1f51 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'examples')
-rw-r--r--examples/examples-aadm/src/test/resources/logback-test.xml4
-rw-r--r--examples/examples-myfirstpolicy/src/test/resources/logback-test.xml4
-rw-r--r--examples/examples-pcvs/src/test/resources/logback-test.xml4
-rw-r--r--examples/examples-servlet/src/main/resources/webapp/WEB-INF/classes/logback.xml2
4 files changed, 7 insertions, 7 deletions
diff --git a/examples/examples-aadm/src/test/resources/logback-test.xml b/examples/examples-aadm/src/test/resources/logback-test.xml
index 4b9258c40..d8e25806f 100644
--- a/examples/examples-aadm/src/test/resources/logback-test.xml
+++ b/examples/examples-aadm/src/test/resources/logback-test.xml
@@ -60,11 +60,11 @@
</encoder>
</appender>
- <logger name="org.onap.policy.apex.core.context.impl.monitoring" level="TRACE" additivity="false">
+ <logger name="org.onap.policy.apex.core.context.impl.monitoring" level="INFO" additivity="false">
<appender-ref ref="CTXT_FILE" />
</logger>
- <logger name="org.onap.policy.apex" level="TRACE" additivity="false">
+ <logger name="org.onap.policy.apex" level="INFO" additivity="false">
<appender-ref ref="STDOUT" />
</logger>
diff --git a/examples/examples-myfirstpolicy/src/test/resources/logback-test.xml b/examples/examples-myfirstpolicy/src/test/resources/logback-test.xml
index ea201e0a9..6676bda38 100644
--- a/examples/examples-myfirstpolicy/src/test/resources/logback-test.xml
+++ b/examples/examples-myfirstpolicy/src/test/resources/logback-test.xml
@@ -60,11 +60,11 @@
</encoder>
</appender>
- <logger name="org.onap.policy.apex.core.context.impl.monitoring" level="TRACE" additivity="false">
+ <logger name="org.onap.policy.apex.core.context.impl.monitoring" level="INFO" additivity="false">
<appender-ref ref="CTXT_FILE" />
</logger>
- <logger name="org.onap.policy.apex" level="TRACE" additivity="false">
+ <logger name="org.onap.policy.apex" level="INFO" additivity="false">
<appender-ref ref="STDOUT" />
</logger>
diff --git a/examples/examples-pcvs/src/test/resources/logback-test.xml b/examples/examples-pcvs/src/test/resources/logback-test.xml
index ea201e0a9..6676bda38 100644
--- a/examples/examples-pcvs/src/test/resources/logback-test.xml
+++ b/examples/examples-pcvs/src/test/resources/logback-test.xml
@@ -60,11 +60,11 @@
</encoder>
</appender>
- <logger name="org.onap.policy.apex.core.context.impl.monitoring" level="TRACE" additivity="false">
+ <logger name="org.onap.policy.apex.core.context.impl.monitoring" level="INFO" additivity="false">
<appender-ref ref="CTXT_FILE" />
</logger>
- <logger name="org.onap.policy.apex" level="TRACE" additivity="false">
+ <logger name="org.onap.policy.apex" level="INFO" additivity="false">
<appender-ref ref="STDOUT" />
</logger>
diff --git a/examples/examples-servlet/src/main/resources/webapp/WEB-INF/classes/logback.xml b/examples/examples-servlet/src/main/resources/webapp/WEB-INF/classes/logback.xml
index ac15721b9..2ae2fde77 100644
--- a/examples/examples-servlet/src/main/resources/webapp/WEB-INF/classes/logback.xml
+++ b/examples/examples-servlet/src/main/resources/webapp/WEB-INF/classes/logback.xml
@@ -56,7 +56,7 @@
<appender-ref ref="FILE" />
</logger>
- <logger name="org.onap.policy.apex.core.context.monitoring" level="TRACE" additivity="false">
+ <logger name="org.onap.policy.apex.core.context.monitoring" level="INFO" additivity="false">
<appender-ref ref="CTXT_FILE" />
</logger>