You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2015/04/23 17:53:21 UTC
[3/3] incubator-nifi git commit: NIFI-534: - Dumping the stack when
debug is enabled.
NIFI-534:
- Dumping the stack when debug is enabled.
Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/8bfc9691
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/8bfc9691
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/8bfc9691
Branch: refs/heads/develop
Commit: 8bfc9691421c8e35f0594fd13a91132f619bc9c0
Parents: 7678dd9
Author: Matt Gilman <ma...@gmail.com>
Authored: Thu Apr 23 11:28:11 2015 -0400
Committer: Matt Gilman <ma...@gmail.com>
Committed: Thu Apr 23 11:28:11 2015 -0400
----------------------------------------------------------------------
.../org/apache/nifi/cluster/manager/impl/WebClusterManager.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/8bfc9691/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/manager/impl/WebClusterManager.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/manager/impl/WebClusterManager.java b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/manager/impl/WebClusterManager.java
index 9a8b014..2cf026a 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/manager/impl/WebClusterManager.java
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/manager/impl/WebClusterManager.java
@@ -424,6 +424,9 @@ public class WebClusterManager implements HttpClusterManager, ProtocolHandler, C
}
} catch(final Throwable t) {
logger.warn("Unable to capture component metrics from Node heartbeats: " + t);
+ if (logger.isDebugEnabled()) {
+ logger.warn("", t);
+ }
} finally {
readLock.unlock("capture component metrics from node heartbeats");
}