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 <[email protected]> Authored: Thu Nov 1 11:41:44 2018 +0700 Committer: Benoit Tellier <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
