diff options
author | vempo <vitaliy.emporopulo@amdocs.com> | 2018-08-16 12:33:17 +0300 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2018-08-16 15:45:52 +0000 |
commit | f9739c7dc70b91ec9119285753f13e0a1fad765c (patch) | |
tree | 931f0bd7c9324c3c06b5d743daeb99732e7669c3 | |
parent | 35794eda615b4a0f24cb99aedd78a94cf55d9497 (diff) |
Log configuration for config and vnfrepo tests
Change-Id: I4e577b13bb627a5646e7e5766d68394820cd7496
Issue-ID: SDC-1656
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2 files changed, 33 insertions, 11 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/logback-test.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/logback-test.xml index a439105a14..6d9686714e 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/logback-test.xml +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/logback-test.xml @@ -1,16 +1,19 @@ <configuration> - <appender name="FILE" class="ch.qos.logback.core.FileAppender"> - <file>target/unit-tests.log</file> - <append>true</append> - <immediateFlush>true</immediateFlush> - <encoder> - <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> - </encoder> - </appender> + <configuration> - <root level="warn"> - <appender-ref ref="FILE" /> - </root> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <Pattern> + %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + </Pattern> + </encoder> + </appender> + + <root level="OFF"> + <appender-ref ref="STDOUT" /> + </root> + + </configuration> </configuration>
\ No newline at end of file diff --git a/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/test/resources/logback-test.xml b/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/test/resources/logback-test.xml new file mode 100644 index 0000000000..6d9686714e --- /dev/null +++ b/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/test/resources/logback-test.xml @@ -0,0 +1,19 @@ +<configuration> + + <configuration> + + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <Pattern> + %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + </Pattern> + </encoder> + </appender> + + <root level="OFF"> + <appender-ref ref="STDOUT" /> + </root> + + </configuration> + +</configuration>
\ No newline at end of file |