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 2015/04/24 12:48:36 UTC
[5/9] stratos git commit: Remove unnecesarry logs
Remove unnecesarry logs
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/4dab3225
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/4dab3225
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/4dab3225
Branch: refs/heads/master
Commit: 4dab3225b8689fbb6c9414dd31f55c622764c0c5
Parents: a5af78f
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Fri Apr 24 14:38:45 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Fri Apr 24 14:38:45 2015 +0530
----------------------------------------------------------------------
.../autoscaler/services/impl/AutoscalerServiceImpl.java | 7 -------
1 file changed, 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/4dab3225/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/impl/AutoscalerServiceImpl.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/impl/AutoscalerServiceImpl.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/impl/AutoscalerServiceImpl.java
index 8dafd81..1c8bbf2 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/impl/AutoscalerServiceImpl.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/impl/AutoscalerServiceImpl.java
@@ -1013,21 +1013,17 @@ public class AutoscalerServiceImpl implements AutoscalerService {
if (null == networkPartition.getPartition(clusterLevelPartitionContext.getPartitionId())) {
- log.info(" +++ " + "We have found that this partition context which is in cluster monitor is removed in updated policy"
- + " clusterLevelPartitionContext.getPartitionId() " + clusterLevelPartitionContext.getPartitionId());
//We have found that this partition context which is in cluster monitor is removed in updated policy
while (clusterLevelPartitionContext.getActiveMembers().size() != 0) {
MemberContext member = clusterLevelPartitionContext.getActiveMembers().get(0);
- log.info(" +++ " + " Active member to be terminate " + member.getMemberId());
clusterLevelPartitionContext.moveActiveMemberToTerminationPendingMembers(member.getMemberId());
}
while (clusterLevelPartitionContext.getPendingMembers().size() != 0) {
MemberContext member = clusterLevelPartitionContext.getPendingMembers().get(0);
- log.info(" +++ " + " Pending member to be terminate " + member.getMemberId());
clusterLevelPartitionContext.movePendingMemberToObsoleteMembers(member.getMemberId());
}
clusterLevelPartitionContext.setIsObsoletePartition(true);
@@ -1051,9 +1047,6 @@ public class AutoscalerServiceImpl implements AutoscalerService {
ClusterInstanceContext clusterInstanceContext = (ClusterInstanceContext) instanceContext;
if (null == clusterInstanceContext.getPartitionCtxt(partition.getId())) {
- log.info(" +++ " + "We have found that this partition which is in deployment policy/network partition is new"
- + " clusterLevelPartitionContext.getPartitionId() " + partition.getId());
-
//We have found that this partition which is in deployment policy/network partition is new
ClusterLevelPartitionContext clusterLevelPartitionContext = new ClusterLevelPartitionContext(
partition, networkPartition.getId(), deploymentPolicyID);