You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by re...@apache.org on 2014/12/16 07:25:15 UTC
[2/2] stratos git commit: changing lifecycle manager log to debug log
changing lifecycle manager log to debug log
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/a159a7ed
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/a159a7ed
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/a159a7ed
Branch: refs/heads/4.1.0-test
Commit: a159a7ed507da0d94be3b0d1a3bf7bcb4a98e032
Parents: d0e6fad
Author: reka <rt...@gmail.com>
Authored: Tue Dec 16 11:53:24 2014 +0530
Committer: reka <rt...@gmail.com>
Committed: Tue Dec 16 11:53:24 2014 +0530
----------------------------------------------------------------------
.../domain/topology/lifecycle/LifeCycleStateManager.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/a159a7ed/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/lifecycle/LifeCycleStateManager.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/lifecycle/LifeCycleStateManager.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/lifecycle/LifeCycleStateManager.java
index e2907bb..f5eb859 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/lifecycle/LifeCycleStateManager.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/lifecycle/LifeCycleStateManager.java
@@ -83,8 +83,10 @@ public class LifeCycleStateManager<T extends LifeCycleState> implements Serializ
if (getCurrentState() != nextState) {
stateStack.push(nextState);
stateChanged = true;
- log.info("Element [" + identifier + "]'s lifecycle state changed from [" +
- getPreviousState() + "] to [" + getCurrentState() + "]");
+ if(log.isDebugEnabled()) {
+ log.debug("Element [" + identifier + "]'s lifecycle state changed from [" +
+ getPreviousState() + "] to [" + getCurrentState() + "]");
+ }
} else {
if (log.isDebugEnabled()) {
log.debug("Element [" + identifier +"]'s lifecycle state has been " +