You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2014/02/07 04:33:59 UTC
[2/2] git commit: adding a debug log
adding a debug log
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/ccac1873
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/ccac1873
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/ccac1873
Branch: refs/heads/master
Commit: ccac187392db1192e8fffde2fce6cc95d65fd705
Parents: 1367eee
Author: Isuru <is...@wso2.com>
Authored: Fri Feb 7 09:03:21 2014 +0530
Committer: Isuru <is...@wso2.com>
Committed: Fri Feb 7 09:03:21 2014 +0530
----------------------------------------------------------------------
.../topology/model/TopologyClusterInformationModel.java | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ccac1873/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java
index 82d0a16..46d366f 100644
--- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java
+++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java
@@ -229,7 +229,13 @@ public class TopologyClusterInformationModel {
clusterSet = new HashSet<Cluster>();
while (aliasCtxIterator.hasNext()) {
- clusterSet.add(aliasCtxIterator.next().getCluster());
+ Cluster cluster = aliasCtxIterator.next().getCluster();
+ // add the cluster to the set
+ clusterSet.add(cluster);
+
+ if (log.isDebugEnabled()) {
+ log.debug("Matching cluster found for tenant " + tenantId + " : " + cluster.toString());
+ }
}
}
}