Updated Branches: refs/heads/trunk b77a758e1 -> 5c9091b55
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/5c9091b5 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/5c9091b5 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/5c9091b5 Branch: refs/heads/trunk Commit: 5c9091b55f6b20fe47967e95b60e81cb66fe0ed8 Parents: b77a758 Author: Brock Noland <[email protected]> Authored: Mon Sep 10 14:46:20 2012 -0500 Committer: Brock Noland <[email protected]> Committed: Mon Sep 10 14:46:20 2012 -0500 ---------------------------------------------------------------------- .../flume/lifecycle/LifecycleController.java | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/5c9091b5/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; }
