james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [1/3] james-project git commit: JAMES-1739 bundle a default logback configuration
Date Fri, 20 May 2016 13:47:11 GMT
Repository: james-project
Updated Branches:
  refs/heads/master 04b8c3e2b -> ab37c84f0


JAMES-1739 bundle a default logback configuration


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

Branch: refs/heads/master
Commit: 8d7c8ede700225e2b0ce04d3237350af1d1ae79f
Parents: 5a76eee
Author: Matthieu Baechler <matthieu.baechler@linagora.com>
Authored: Wed May 18 17:00:11 2016 +0200
Committer: Matthieu Baechler <matthieu.baechler@linagora.com>
Committed: Wed May 18 17:00:11 2016 +0200

----------------------------------------------------------------------
 .../src/main/resources/logback.xml               | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/8d7c8ede/server/container/guice/cassandra-guice/src/main/resources/logback.xml
----------------------------------------------------------------------
diff --git a/server/container/guice/cassandra-guice/src/main/resources/logback.xml b/server/container/guice/cassandra-guice/src/main/resources/logback.xml
new file mode 100644
index 0000000..f2c08d8
--- /dev/null
+++ b/server/container/guice/cassandra-guice/src/main/resources/logback.xml
@@ -0,0 +1,19 @@
+<?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="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


Mime
View raw message