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 2013/12/20 10:17:23 UTC

git commit: Updated log entry in cartridge agent

Updated Branches:
  refs/heads/master 6ac8339fa -> 14532fe28


Updated log entry in cartridge agent


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/14532fe2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/14532fe2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/14532fe2

Branch: refs/heads/master
Commit: 14532fe28b9d5f80a290007441b303be3ad5657c
Parents: 6ac8339
Author: Imesh Gunaratne <im...@apache.org>
Authored: Fri Dec 20 14:47:15 2013 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Fri Dec 20 14:47:15 2013 +0530

----------------------------------------------------------------------
 .../agent/statistics/publisher/HealthStatisticsPublisher.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/14532fe2/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/statistics/publisher/HealthStatisticsPublisher.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/statistics/publisher/HealthStatisticsPublisher.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/statistics/publisher/HealthStatisticsPublisher.java
index 094e6fc..cf3f1b7 100644
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/statistics/publisher/HealthStatisticsPublisher.java
+++ b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/statistics/publisher/HealthStatisticsPublisher.java
@@ -74,7 +74,7 @@ public class HealthStatisticsPublisher extends WSO2CEPStatisticsPublisher {
      */
     public void publish(String clusterId, String networkPartitionId, String memberId, String partitionId, String health, double value) {
         if(log.isInfoEnabled()) {
-            log.info(String.format("Publishing health statistics: [cluster] %s [network-partition] %s [partition] %s [member] %s [health] %s [value] %s",
+            log.info(String.format("Publishing health statistics: [cluster] %s [network-partition] %s [partition] %s [member] %s [health] %s [value] %d",
                     clusterId, networkPartitionId, partitionId, memberId, health, value));
         }
         List<Object> payload = new ArrayList<Object>();