flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject git commit: FLUME-1519: LifecycleController prints tons of DEBUG messages
Date Mon, 10 Sep 2012 19:47:09 GMT
Updated Branches:
  refs/heads/flume-1.3.0 c64975d60 -> 268223e03


FLUME-1519: LifecycleController prints tons of DEBUG messages

(Ted Malaska via Brock Noland)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/268223e0
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/268223e0
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/268223e0

Branch: refs/heads/flume-1.3.0
Commit: 268223e034170cf79d2fa1119c0ee3e530c395bd
Parents: c64975d
Author: Brock Noland <brock@apache.org>
Authored: Mon Sep 10 14:46:20 2012 -0500
Committer: Brock Noland <brock@apache.org>
Committed: Mon Sep 10 14:46:36 2012 -0500

----------------------------------------------------------------------
 .../flume/lifecycle/LifecycleController.java       |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/268223e0/flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleController.java
----------------------------------------------------------------------
diff --git a/flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleController.java
b/flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleController.java
index cc1a712..1e09e2e 100644
--- a/flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleController.java
+++ b/flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleController.java
@@ -68,12 +68,10 @@ public class LifecycleController {
         }
       }
 
-      logger.debug("Still want one of states:{} sleeping:{}ms", states,
-          sleepInterval);
       Thread.sleep(sleepInterval);
     } while (timeout == 0 || System.currentTimeMillis() < deadLine);
 
-    logger.debug("Didn't see state within timeout {}ms", timeout);
+    logger.debug("Didn't see {} state(s) within timeout of {}ms", states, timeout);
 
     return false;
   }


Mime
View raw message