Updated Branches: refs/heads/master c514a1cb7 -> dfc250e53
Optimized cloud controller topology manager logs Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/dfc250e5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/dfc250e5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/dfc250e5 Branch: refs/heads/master Commit: dfc250e53ac441bb5bed181a8d3f4981810d97fd Parents: c514a1c Author: Imesh Gunaratne <[email protected]> Authored: Wed Dec 25 14:40:27 2013 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Wed Dec 25 14:40:27 2013 +0530 ---------------------------------------------------------------------- .../stratos/cloud/controller/topology/TopologyManager.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/dfc250e5/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topology/TopologyManager.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topology/TopologyManager.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topology/TopologyManager.java index 944aa04..cdc63d1 100644 --- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topology/TopologyManager.java +++ b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topology/TopologyManager.java @@ -87,9 +87,6 @@ public class TopologyManager { } } } - if(log.isDebugEnabled()) { - log.debug("The current topology is: " + toJson()); - } return this.topology; } @@ -98,9 +95,8 @@ public class TopologyManager { this.topology = topology; CloudControllerUtil.persistTopology(this.topology); if (log.isDebugEnabled()) { - log.debug("Topology got updated. Full Topology: "+toJson()); + log.debug(String.format("Topology updated: %s", toJson())); } - } }
