You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2014/12/04 07:42:37 UTC
stratos git commit: Fixing cluster instance addition log
Repository: stratos
Updated Branches:
refs/heads/master 5c1b4503d -> 5da0647ee
Fixing cluster instance addition log
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/5da0647e
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/5da0647e
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/5da0647e
Branch: refs/heads/master
Commit: 5da0647eefa72751e3f1531d9563665ec11cb3f4
Parents: 5c1b450
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Thu Dec 4 12:14:09 2014 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Thu Dec 4 12:14:09 2014 +0530
----------------------------------------------------------------------
.../stratos/autoscaler/context/cluster/VMClusterContext.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/5da0647e/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/VMClusterContext.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/VMClusterContext.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/VMClusterContext.java
index bd7c2b8..9944f94 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/VMClusterContext.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/VMClusterContext.java
@@ -156,8 +156,9 @@ public class VMClusterContext extends AbstractClusterContext {
this.networkPartitionCtxts.put(clusterInstance.getNetworkPartitionId(),
networkPartitionContext);
if (log.isInfoEnabled()) {
- log.info(String.format("Network partition context has been added: " +
- "[network partition] %s", clusterInstance.getNetworkPartitionId()));
+ log.info(String.format("Cluster instance context has been added to network partition, [cluster instance]" +
+ " %s [network partition] %s", clusterInstance.getInstanceId(),
+ clusterInstance.getNetworkPartitionId()));
}
}