drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacq...@apache.org
Subject [02/10] drill git commit: DRILL-2541: Plan fragment logging causes significant delay in query start
Date Thu, 26 Mar 2015 06:26:41 GMT
DRILL-2541: Plan fragment logging causes significant delay in query start

Foreman
- change plan fragment logging from INFO level to TRACE level


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/83a726cb
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/83a726cb
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/83a726cb

Branch: refs/heads/0.8.0
Commit: 83a726cba49d1efd48ba0e0922f467f0ebcce69b
Parents: 1efdbf5
Author: Chris Westin <cwestin@yahoo.com>
Authored: Tue Mar 24 13:02:10 2015 -0700
Committer: Jacques Nadeau <jacques@apache.org>
Committed: Tue Mar 24 18:13:29 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/drill/exec/work/foreman/Foreman.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/83a726cb/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
index bfb6de8..44112c3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
@@ -439,7 +439,7 @@ public class Foreman implements Runnable {
         queryId, queryContext.getActiveEndpoints(), drillbitContext.getPlanReader(), rootFragment,
         initiatingClient.getSession(), queryContext.getQueryDateTimeInfo());
 
-    if (logger.isInfoEnabled()) {
+    if (logger.isTraceEnabled()) {
       final StringBuilder sb = new StringBuilder();
       sb.append("PlanFragments for query ");
       sb.append(queryId);
@@ -477,7 +477,7 @@ public class Foreman implements Runnable {
         }
         sb.append(jsonString);
 
-        logger.info(sb.toString());
+        logger.trace(sb.toString());
       }
     }
 


Mime
View raw message