You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by sa...@apache.org on 2014/09/29 08:17:57 UTC
[1/2] git commit: logging - waiting for CA to be initialized
Repository: stratos
Updated Branches:
refs/heads/docker-integration 253eb2db6 -> bb4237624
logging - waiting for CA to be initialized
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/84a56871
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/84a56871
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/84a56871
Branch: refs/heads/docker-integration
Commit: 84a568713e0c0e50435c03e6a9607f4ff84cefd6
Parents: 253eb2d
Author: R-Rajkumar <rr...@gmail.com>
Authored: Mon Sep 29 11:29:09 2014 +0530
Committer: R-Rajkumar <rr...@gmail.com>
Committed: Mon Sep 29 11:29:09 2014 +0530
----------------------------------------------------------------------
.../java/org/apache/stratos/cartridge/agent/CartridgeAgent.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/84a56871/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java
index e300ec5..b6b932b 100644
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java
+++ b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java
@@ -88,6 +88,7 @@ public class CartridgeAgent implements Runnable {
// wait till the member spawned event
while (!CartridgeAgentConfiguration.getInstance().isInitialized()) {
try {
+ log.debug("Waiting for Cartridge Agent to be initialized...");
Thread.sleep(1000);
} catch (InterruptedException ignore) {
}
[2/2] git commit: logging in INFO level - waiting for CA to be
initialized. This closes #71
Posted by sa...@apache.org.
logging in INFO level - waiting for CA to be initialized. This closes #71
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/bb423762
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/bb423762
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/bb423762
Branch: refs/heads/docker-integration
Commit: bb4237624fb83adc71870d8e823fe72a639be272
Parents: 84a5687
Author: R-Rajkumar <rr...@gmail.com>
Authored: Mon Sep 29 11:38:04 2014 +0530
Committer: sajhak <sa...@gmail.com>
Committed: Mon Sep 29 11:47:23 2014 +0530
----------------------------------------------------------------------
.../java/org/apache/stratos/cartridge/agent/CartridgeAgent.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/bb423762/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java
index b6b932b..2db450a 100644
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java
+++ b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java
@@ -88,7 +88,9 @@ public class CartridgeAgent implements Runnable {
// wait till the member spawned event
while (!CartridgeAgentConfiguration.getInstance().isInitialized()) {
try {
- log.debug("Waiting for Cartridge Agent to be initialized...");
+ if (log.isInfoEnabled()) {
+ log.info("Waiting for Cartridge Agent to be initialized...");
+ }
Thread.sleep(1000);
} catch (InterruptedException ignore) {
}