Repository: james-project
Updated Branches:
  refs/heads/master 534f081d6 -> 16410ae2d


JAMES-2242 Correct logback in mailet integration tests


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/6a2d0b2a
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/6a2d0b2a
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/6a2d0b2a

Branch: refs/heads/master
Commit: 6a2d0b2a47e082eb8bdc9c18ec80333e7be9811d
Parents: 534f081
Author: benwa <btell...@linagora.com>
Authored: Tue Nov 28 17:29:18 2017 +0700
Committer: Antoine Duprat <adup...@linagora.com>
Committed: Mon Dec 4 14:42:12 2017 +0100

----------------------------------------------------------------------
 .../src/test/resources/logback-test.xml         |  4 +++-
 .../src/test/resources/logback.xml              | 23 --------------------
 2 files changed, 3 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/6a2d0b2a/server/mailet/integration-testing/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git 
a/server/mailet/integration-testing/src/test/resources/logback-test.xml 
b/server/mailet/integration-testing/src/test/resources/logback-test.xml
index 665c8be..0524945 100644
--- a/server/mailet/integration-testing/src/test/resources/logback-test.xml
+++ b/server/mailet/integration-testing/src/test/resources/logback-test.xml
@@ -8,8 +8,10 @@
                 </encoder>
         </appender>
 
-        <root level="INFO">
+        <root level="WARN">
                 <appender-ref ref="CONSOLE" />
         </root>
 
+        <logger name="org.apache.james" level="DEBUG"/>
+
 </configuration>

http://git-wip-us.apache.org/repos/asf/james-project/blob/6a2d0b2a/server/mailet/integration-testing/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/server/mailet/integration-testing/src/test/resources/logback.xml 
b/server/mailet/integration-testing/src/test/resources/logback.xml
deleted file mode 100644
index b6c3147..0000000
--- a/server/mailet/integration-testing/src/test/resources/logback.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configuration>
-
-        <contextListener 
class="ch.qos.logback.classic.jul.LevelChangePropagator">
-                <resetJUL>true</resetJUL>
-        </contextListener>
-
-        <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
-                <encoder>
-                        <pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - 
%msg%n%rEx</pattern>
-                        <immediateFlush>false</immediateFlush>
-                </encoder>
-        </appender>
-
-        <root level="WARN">
-                <appender-ref ref="CONSOLE" />
-        </root>
-
-        <logger 
name="org.apache.james.mailetcontainer.impl.JamesMailetContext" level="DEBUG"/>
-
-        <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" 
/>
-
-</configuration>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to