You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/10/18 14:48:56 UTC

[shardingsphere-elasticjob] branch master updated: Add logback-test to spring module to avoid print useless logs (#1585)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git


The following commit(s) were added to refs/heads/master by this push:
     new fdf0820  Add logback-test to spring module to avoid print useless logs (#1585)
fdf0820 is described below

commit fdf08200401141a224b8e79b1a00ceb20ab1e958
Author: Liang Zhang <te...@163.com>
AuthorDate: Sun Oct 18 22:47:58 2020 +0800

    Add logback-test to spring module to avoid print useless logs (#1585)
---
 .../src/test/resources/logback-test.xml                                  | 0
 .../elasticjob-lite-spring-namespace/src/test/resources/logback-test.xml | 1 +
 2 files changed, 1 insertion(+)

diff --git a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/src/test/resources/logback-test.xml b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/src/test/resources/logback-test.xml
similarity index 100%
copy from elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/src/test/resources/logback-test.xml
copy to elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/src/test/resources/logback-test.xml
diff --git a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/src/test/resources/logback-test.xml b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/src/test/resources/logback-test.xml
index 63d4703..9d1601c 100644
--- a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/src/test/resources/logback-test.xml
+++ b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/src/test/resources/logback-test.xml
@@ -36,4 +36,5 @@
     
     <logger name="org.apache.zookeeper" level="ERROR" />
     <logger name="org.apache.curator" level="ERROR" />
+    <logger name="org.apache.shardingsphere.elasticjob.error.handler.general.LogJobErrorHandler" level="OFF" />
 </configuration>