james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [09/17] james-project git commit: JAMES-2489 Reduce JCR log output
Date Mon, 05 Nov 2018 10:52:12 GMT
JAMES-2489 Reduce JCR log output

This may cause mvn run command to crash in some IDE


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

Branch: refs/heads/master
Commit: bb3dc7e6a6140ad87d872ac612b92886726c33fd
Parents: aa86dfe
Author: Benoit Tellier <btellier@linagora.com>
Authored: Thu Nov 1 11:41:44 2018 +0700
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Thu Nov 1 11:41:44 2018 +0700

----------------------------------------------------------------------
 mailbox/jcr/src/test/resources/logback-test.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/bb3dc7e6/mailbox/jcr/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/mailbox/jcr/src/test/resources/logback-test.xml b/mailbox/jcr/src/test/resources/logback-test.xml
new file mode 100644
index 0000000..f9a0ffb
--- /dev/null
+++ b/mailbox/jcr/src/test/resources/logback-test.xml
@@ -0,0 +1,18 @@
+<?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>
+</configuration>


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


Mime
View raw message