Mercurial > hg > SpringPlayground
changeset 9:5870f5695e43
Logging Konfiguration, damit der Test maximal still ist. Das Spring Logo ist jetzt auch deaktiviert.
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Thu, 13 Aug 2020 17:05:57 +0200 |
parents | 7ce4367b50bc |
children | 29e2e914c4cd |
files | spring-boot-playground/src/main/resources/application.properties spring-boot-playground/src/test/resources/application.properties spring-boot-playground/src/test/resources/logback-test.xml |
diffstat | 3 files changed, 17 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/spring-boot-playground/src/main/resources/application.properties Thu Aug 13 16:51:05 2020 +0200 +++ b/spring-boot-playground/src/main/resources/application.properties Thu Aug 13 17:05:57 2020 +0200 @@ -1,3 +1,3 @@ spring.datasource.url = jdbc:h2:~/unittest;AUTO_SERVER=true - spring.liquibase.changelog = classpath:liquibase/changelog.xml +spring.main.banner-mode = off
--- a/spring-boot-playground/src/test/resources/application.properties Thu Aug 13 16:51:05 2020 +0200 +++ b/spring-boot-playground/src/test/resources/application.properties Thu Aug 13 17:05:57 2020 +0200 @@ -1,1 +1,2 @@ spring.datasource.url = jdbc:h2:mem: +spring.main.banner-mode = off
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spring-boot-playground/src/test/resources/logback-test.xml Thu Aug 13 17:05:57 2020 +0200 @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<configuration> + <appender name="STDOUT" + class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <Pattern> + %36.-36logger{36} : %msg%n + </Pattern> + </encoder> + </appender> + + <root level="ERROR"> + <appender-ref ref="STDOUT" /> + </root> +</configuration> \ No newline at end of file