james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [2/5] james-project git commit: JAMES-1944 config cassandra query slow logger
Date Thu, 02 Mar 2017 11:21:02 GMT
JAMES-1944 config cassandra query slow logger


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

Branch: refs/heads/master
Commit: 4d02ac56f3f370148429696bf6d396148993bec3
Parents: b8992fd
Author: Luc DUZAN <lduzan@linagora.com>
Authored: Mon Feb 20 10:49:51 2017 +0100
Committer: benwa <btellier@linagora.com>
Committed: Thu Mar 2 18:20:35 2017 +0700

----------------------------------------------------------------------
 dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml | 2 ++
 dockerfiles/run/guice/cassandra/destination/conf/logback.xml      | 2 ++
 mailbox/elasticsearch/src/test/resources/logback-test.xml         | 1 +
 .../guice/cassandra-guice/src/main/resources/logback.xml          | 1 +
 .../data-ldap-integration-testing/src/test/resources/logback.xml  | 2 ++
 server/mailet/integration-testing/src/test/resources/logback.xml  | 2 ++
 server/mailet/mailets/src/test/resources/logback-test.xml         | 2 ++
 .../src/test/resources/logback-test.xml                           | 3 +++
 8 files changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/4d02ac56/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml b/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
index 7685591..ee7900e 100644
--- a/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
@@ -25,4 +25,6 @@
                 <appender-ref ref="LOG_FILE" />
         </root>
 
+        <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" />
+
 </configuration>

http://git-wip-us.apache.org/repos/asf/james-project/blob/4d02ac56/dockerfiles/run/guice/cassandra/destination/conf/logback.xml
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra/destination/conf/logback.xml b/dockerfiles/run/guice/cassandra/destination/conf/logback.xml
index 7685591..ee7900e 100644
--- a/dockerfiles/run/guice/cassandra/destination/conf/logback.xml
+++ b/dockerfiles/run/guice/cassandra/destination/conf/logback.xml
@@ -25,4 +25,6 @@
                 <appender-ref ref="LOG_FILE" />
         </root>
 
+        <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" />
+
 </configuration>

http://git-wip-us.apache.org/repos/asf/james-project/blob/4d02ac56/mailbox/elasticsearch/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/mailbox/elasticsearch/src/test/resources/logback-test.xml b/mailbox/elasticsearch/src/test/resources/logback-test.xml
index 8678b2f..15e1365 100644
--- a/mailbox/elasticsearch/src/test/resources/logback-test.xml
+++ b/mailbox/elasticsearch/src/test/resources/logback-test.xml
@@ -21,5 +21,6 @@
                 <appender-ref ref="CONSOLE" />
         </logger>
 
+        <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" />
 
 </configuration>

http://git-wip-us.apache.org/repos/asf/james-project/blob/4d02ac56/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
index 0e1ff22..f6f0c68 100644
--- a/server/container/guice/cassandra-guice/src/main/resources/logback.xml
+++ b/server/container/guice/cassandra-guice/src/main/resources/logback.xml
@@ -18,5 +18,6 @@
 
         <logger name="org.apache.james" level="INFO"/>
 
+        <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" />
 
 </configuration>

http://git-wip-us.apache.org/repos/asf/james-project/blob/4d02ac56/server/data/data-ldap-integration-testing/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/server/data/data-ldap-integration-testing/src/test/resources/logback.xml b/server/data/data-ldap-integration-testing/src/test/resources/logback.xml
index 5c69ee7..4801b91 100644
--- a/server/data/data-ldap-integration-testing/src/test/resources/logback.xml
+++ b/server/data/data-ldap-integration-testing/src/test/resources/logback.xml
@@ -19,4 +19,6 @@
         <logger name="org.testcontainers" level="INFO"/>
         <logger name="org.apache.james" level="DEBUG"/>
 
+        <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" />
+
 </configuration>

http://git-wip-us.apache.org/repos/asf/james-project/blob/4d02ac56/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
index 52c0153..b6c3147 100644
--- a/server/mailet/integration-testing/src/test/resources/logback.xml
+++ b/server/mailet/integration-testing/src/test/resources/logback.xml
@@ -18,4 +18,6 @@
 
         <logger name="org.apache.james.mailetcontainer.impl.JamesMailetContext" level="DEBUG"/>
 
+        <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" />
+
 </configuration>

http://git-wip-us.apache.org/repos/asf/james-project/blob/4d02ac56/server/mailet/mailets/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/server/mailet/mailets/src/test/resources/logback-test.xml b/server/mailet/mailets/src/test/resources/logback-test.xml
index 0210dd6..43f4151 100644
--- a/server/mailet/mailets/src/test/resources/logback-test.xml
+++ b/server/mailet/mailets/src/test/resources/logback-test.xml
@@ -18,4 +18,6 @@
 
         <logger name="org.apache.james" level="DEBUG"/>
 
+        <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" />
+
 </configuration>

http://git-wip-us.apache.org/repos/asf/james-project/blob/4d02ac56/server/protocols/jmap-integration-testing/memory-jmap-integration-testing/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/server/protocols/jmap-integration-testing/memory-jmap-integration-testing/src/test/resources/logback-test.xml
b/server/protocols/jmap-integration-testing/memory-jmap-integration-testing/src/test/resources/logback-test.xml
index dd2d81e..6f13ac9 100644
--- a/server/protocols/jmap-integration-testing/memory-jmap-integration-testing/src/test/resources/logback-test.xml
+++ b/server/protocols/jmap-integration-testing/memory-jmap-integration-testing/src/test/resources/logback-test.xml
@@ -9,4 +9,7 @@
     <root level="WARN">
         <appender-ref ref="STDOUT" />
     </root>
+
+    <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" />
+
 </configuration>
\ No newline at end of file


---------------------------------------------------------------------
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