Updated Branches: refs/heads/master 8cdcfd55f -> a411230a5
cluster monitor logs carries toString hereon Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/a411230a Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/a411230a Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/a411230a Branch: refs/heads/master Commit: a411230a58ad798582be5240beba3e4893f8fe67 Parents: 8cdcfd5 Author: Nirmal Fernando <[email protected]> Authored: Mon Dec 16 11:38:30 2013 +0530 Committer: Nirmal Fernando <[email protected]> Committed: Mon Dec 16 11:38:30 2013 +0530 ---------------------------------------------------------------------- .../java/org/apache/stratos/autoscaler/ClusterMonitor.java | 6 +++--- .../java/org/apache/stratos/autoscaler/LbClusterMonitor.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a411230a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/ClusterMonitor.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/ClusterMonitor.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/ClusterMonitor.java index 8a3d5bc..68377a1 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/ClusterMonitor.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/ClusterMonitor.java @@ -130,12 +130,12 @@ public class ClusterMonitor implements Runnable{ while (!isDestroyed()) { if (log.isDebugEnabled()) { - log.debug("Cluster monitor is running.."); + log.debug("Cluster monitor is running.. "+this.toString()); } try { monitor(); } catch (Exception e) { - log.error("Cluster monitor: Monitor failed.", e); + log.error("Cluster monitor: Monitor failed."+this.toString(), e); } try { // TODO make this configurable @@ -190,7 +190,7 @@ public class ClusterMonitor implements Runnable{ scaleCheckKnowledgeSession.dispose(); setDestroyed(true); if(log.isDebugEnabled()) { - log.debug("Cluster Monitor Drools session has been disposed."); + log.debug("Cluster Monitor Drools session has been disposed. "+this.toString()); } } http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a411230a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/LbClusterMonitor.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/LbClusterMonitor.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/LbClusterMonitor.java index 8a4f3e5..020cec3 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/LbClusterMonitor.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/LbClusterMonitor.java @@ -125,12 +125,12 @@ public class LbClusterMonitor implements Runnable{ while (!isDestroyed()) { if (log.isDebugEnabled()) { - log.debug("Cluster monitor is running.."); + log.debug("Cluster monitor is running.. "+this.toString()); } try { monitor(); } catch (Exception e) { - log.error("Cluster monitor: Monitor failed.", e); + log.error("Cluster monitor: Monitor failed. "+this.toString(), e); } try { // TODO make this configurable @@ -175,7 +175,7 @@ public class LbClusterMonitor implements Runnable{ scaleCheckKnowledgeSession.dispose(); setDestroyed(true); if(log.isDebugEnabled()) { - log.debug("Cluster Monitor Drools session has been disposed."); + log.debug("Cluster Monitor Drools session has been disposed. "+this.toString()); } }
