You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ma...@apache.org on 2017/09/28 07:58:30 UTC
[6/9] james-project git commit: JAMES-2159 Use logback in mailet
integration tests
JAMES-2159 Use 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/605ab57f
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/605ab57f
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/605ab57f
Branch: refs/heads/master
Commit: 605ab57f57fe77c4edf5989ef8fe8935f582006d
Parents: 1fe32b9
Author: Antoine Duprat <ad...@linagora.com>
Authored: Mon Sep 25 11:44:45 2017 +0200
Committer: Antoine Duprat <ad...@linagora.com>
Committed: Wed Sep 27 16:07:08 2017 +0200
----------------------------------------------------------------------
.../src/test/resources/logback-test.xml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/james-project/blob/605ab57f/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
new file mode 100644
index 0000000..665c8be
--- /dev/null
+++ b/server/mailet/integration-testing/src/test/resources/logback-test.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+
+ <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} %highlight([%-5level]) %logger{15} - %msg%n%rEx</pattern>
+ <immediateFlush>false</immediateFlush>
+ </encoder>
+ </appender>
+
+ <root level="INFO">
+ <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