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 11:23:41 UTC

git commit: Changed info log to debug in cartridge agent

Updated Branches:
  refs/heads/master bafb6a57b -> 7f0eaffea


Changed info log to debug 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/7f0eaffe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/7f0eaffe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/7f0eaffe

Branch: refs/heads/master
Commit: 7f0eaffeabb8e71580641ea1a31adc9fa96fdc9b
Parents: bafb6a5
Author: Imesh Gunaratne <im...@apache.org>
Authored: Fri Dec 20 15:53:32 2013 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Fri Dec 20 15:53:32 2013 +0530

----------------------------------------------------------------------
 .../agent/statistics/publisher/HealthStatisticsPublisher.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f0eaffe/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 4972a30..0e9da7c 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
@@ -72,8 +72,8 @@ public class HealthStatisticsPublisher extends WSO2CEPStatisticsPublisher {
      * @param value
      */
     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] %f",
+        if(log.isDebugEnabled()) {
+            log.debug(String.format("Publishing health statistics: [cluster] %s [network-partition] %s [partition] %s [member] %s [health] %s [value] %f",
                     clusterId, networkPartitionId, partitionId, memberId, health, value));
         }
         List<Object> payload = new ArrayList<Object>();