You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2014/12/17 07:48:41 UTC
stratos git commit: Fixing application logs in autoscaler
Repository: stratos
Updated Branches:
refs/heads/4.1.0-test a3de00ebd -> d22d02572
Fixing application logs in autoscaler
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/d22d0257
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/d22d0257
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/d22d0257
Branch: refs/heads/4.1.0-test
Commit: d22d0257233bd236a64f8e88ce51b13329b2651a
Parents: a3de00e
Author: Imesh Gunaratne <im...@apache.org>
Authored: Wed Dec 17 12:18:33 2014 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Wed Dec 17 12:18:33 2014 +0530
----------------------------------------------------------------------
.../org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/d22d0257/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java
index 7bf93c0..b0e34cb 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java
@@ -166,7 +166,7 @@ public class AutoScalerServiceImpl implements AutoScalerServiceInterface {
throws ApplicationDefinitionException {
if(log.isInfoEnabled()) {
- log.info(String.format("Starting to add application: [application-id] ",
+ log.info(String.format("Starting to add application: [application-id] %s",
applicationContext.getApplicationId()));
}
@@ -175,7 +175,7 @@ public class AutoScalerServiceImpl implements AutoScalerServiceInterface {
applicationContext.setStatus(ApplicationContext.STATUS_CREATED);
AutoscalerContext.getInstance().addApplicationContext(applicationContext);
if(log.isInfoEnabled()) {
- log.info(String.format("Successfully added application: [application-id] ",
+ log.info(String.format("Successfully added application: [application-id] %s",
applicationContext.getApplicationId()));
}
}