From cb1ec3378b8ce243188d7cd0e282176301038b50 Mon Sep 17 00:00:00 2001 From: nobodyiam Date: Sat, 5 May 2018 21:45:44 +0800 Subject: [PATCH] reduce test logs --- apollo-adminservice/src/test/resources/application.properties | 2 +- apollo-adminservice/src/test/resources/logback-test.xml | 4 ++-- apollo-assembly/src/test/resources/application.properties | 2 +- apollo-assembly/src/test/resources/logback-test.xml | 4 ++-- apollo-biz/src/test/resources/application.properties | 2 +- apollo-biz/src/test/resources/logback-test.xml | 4 ++-- apollo-client/src/test/resources/log4j2.xml | 2 +- .../src/test/resources/application.properties | 2 +- apollo-configservice/src/test/resources/logback-test.xml | 4 ++-- apollo-core/src/test/resources/log4j2.xml | 2 +- apollo-portal/src/test/resources/application.properties | 2 +- apollo-portal/src/test/resources/logback-test.xml | 4 ++-- 12 files changed, 17 insertions(+), 17 deletions(-) diff --git a/apollo-adminservice/src/test/resources/application.properties b/apollo-adminservice/src/test/resources/application.properties index 89fbc7969..933c471c2 100644 --- a/apollo-adminservice/src/test/resources/application.properties +++ b/apollo-adminservice/src/test/resources/application.properties @@ -1,6 +1,6 @@ spring.datasource.url = jdbc:h2:mem:~/apolloconfigdb;mode=mysql;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1 spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy -spring.jpa.properties.hibernate.show_sql=true +spring.jpa.properties.hibernate.show_sql=false spring.h2.console.enabled = true spring.h2.console.settings.web-allow-others=true diff --git a/apollo-adminservice/src/test/resources/logback-test.xml b/apollo-adminservice/src/test/resources/logback-test.xml index 9d289de3b..7e6f135fd 100644 --- a/apollo-adminservice/src/test/resources/logback-test.xml +++ b/apollo-adminservice/src/test/resources/logback-test.xml @@ -8,8 +8,8 @@ - + - \ No newline at end of file + diff --git a/apollo-assembly/src/test/resources/application.properties b/apollo-assembly/src/test/resources/application.properties index a6fb47bc4..77babe926 100644 --- a/apollo-assembly/src/test/resources/application.properties +++ b/apollo-assembly/src/test/resources/application.properties @@ -1,6 +1,6 @@ spring.datasource.url = jdbc:h2:mem:~/apolloconfigdb;mode=mysql;DB_CLOSE_ON_EXIT=FALSE spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy -spring.jpa.properties.hibernate.show_sql=true +spring.jpa.properties.hibernate.show_sql=false spring.h2.console.enabled = true spring.h2.console.settings.web-allow-others=true apollo.portal.env= local diff --git a/apollo-assembly/src/test/resources/logback-test.xml b/apollo-assembly/src/test/resources/logback-test.xml index 9d289de3b..7e6f135fd 100644 --- a/apollo-assembly/src/test/resources/logback-test.xml +++ b/apollo-assembly/src/test/resources/logback-test.xml @@ -8,8 +8,8 @@ - + - \ No newline at end of file + diff --git a/apollo-biz/src/test/resources/application.properties b/apollo-biz/src/test/resources/application.properties index 6366863e5..5ff43f532 100644 --- a/apollo-biz/src/test/resources/application.properties +++ b/apollo-biz/src/test/resources/application.properties @@ -1,6 +1,6 @@ spring.datasource.url = jdbc:h2:mem:~/apolloconfigdb;mode=mysql;DB_CLOSE_ON_EXIT=FALSE spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy -spring.jpa.properties.hibernate.show_sql=true +spring.jpa.properties.hibernate.show_sql=false spring.h2.console.enabled = true spring.h2.console.settings.web-allow-others=true diff --git a/apollo-biz/src/test/resources/logback-test.xml b/apollo-biz/src/test/resources/logback-test.xml index 9d289de3b..7e6f135fd 100644 --- a/apollo-biz/src/test/resources/logback-test.xml +++ b/apollo-biz/src/test/resources/logback-test.xml @@ -8,8 +8,8 @@ - + - \ No newline at end of file + diff --git a/apollo-client/src/test/resources/log4j2.xml b/apollo-client/src/test/resources/log4j2.xml index 14181f27b..761a3250c 100644 --- a/apollo-client/src/test/resources/log4j2.xml +++ b/apollo-client/src/test/resources/log4j2.xml @@ -10,7 +10,7 @@ - + diff --git a/apollo-configservice/src/test/resources/application.properties b/apollo-configservice/src/test/resources/application.properties index 3fad69d2e..494e5106a 100644 --- a/apollo-configservice/src/test/resources/application.properties +++ b/apollo-configservice/src/test/resources/application.properties @@ -2,7 +2,7 @@ spring.datasource.url = jdbc:h2:mem:~/apolloconfigdb;mode=mysql;DB_CLOSE_ON_EXIT spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy spring.h2.console.enabled = true spring.h2.console.settings.web-allow-others=true -spring.jpa.properties.hibernate.show_sql=true +spring.jpa.properties.hibernate.show_sql=false # for ReleaseMessageScanner test apollo.message-scan.interval=100 diff --git a/apollo-configservice/src/test/resources/logback-test.xml b/apollo-configservice/src/test/resources/logback-test.xml index 9d289de3b..7e6f135fd 100644 --- a/apollo-configservice/src/test/resources/logback-test.xml +++ b/apollo-configservice/src/test/resources/logback-test.xml @@ -8,8 +8,8 @@ - + - \ No newline at end of file + diff --git a/apollo-core/src/test/resources/log4j2.xml b/apollo-core/src/test/resources/log4j2.xml index 14181f27b..761a3250c 100644 --- a/apollo-core/src/test/resources/log4j2.xml +++ b/apollo-core/src/test/resources/log4j2.xml @@ -10,7 +10,7 @@ - + diff --git a/apollo-portal/src/test/resources/application.properties b/apollo-portal/src/test/resources/application.properties index a55f0e636..fc0a20ba0 100644 --- a/apollo-portal/src/test/resources/application.properties +++ b/apollo-portal/src/test/resources/application.properties @@ -1,5 +1,5 @@ spring.datasource.url = jdbc:h2:mem:~/apolloportaldb;mode=mysql;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1 spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy -spring.jpa.properties.hibernate.show_sql=true +spring.jpa.properties.hibernate.show_sql=false spring.h2.console.enabled = true spring.h2.console.settings.web-allow-others=true diff --git a/apollo-portal/src/test/resources/logback-test.xml b/apollo-portal/src/test/resources/logback-test.xml index 9d289de3b..7e6f135fd 100644 --- a/apollo-portal/src/test/resources/logback-test.xml +++ b/apollo-portal/src/test/resources/logback-test.xml @@ -8,8 +8,8 @@ - + - \ No newline at end of file + -- GitLab