You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by hu...@apache.org on 2018/06/27 21:13:50 UTC

[incubator-heron] branch huijunw/togglepolicy updated: update log fine

This is an automated email from the ASF dual-hosted git repository.

huijun pushed a commit to branch huijunw/togglepolicy
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/huijunw/togglepolicy by this push:
     new 83602f9  update log fine
83602f9 is described below

commit 83602f987732b081e8ccfe34fa54169ef3eaf55c
Author: Huijun Wu <hu...@twitter.com>
AuthorDate: Wed Jun 27 14:13:32 2018 -0700

    update log fine
---
 .../src/java/org/apache/heron/healthmgr/policy/ToggleablePolicy.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/heron/healthmgr/src/java/org/apache/heron/healthmgr/policy/ToggleablePolicy.java b/heron/healthmgr/src/java/org/apache/heron/healthmgr/policy/ToggleablePolicy.java
index 9addb20..a55764e 100644
--- a/heron/healthmgr/src/java/org/apache/heron/healthmgr/policy/ToggleablePolicy.java
+++ b/heron/healthmgr/src/java/org/apache/heron/healthmgr/policy/ToggleablePolicy.java
@@ -84,8 +84,7 @@ public class ToggleablePolicy extends HealthPolicyImpl {
             policyMode = val;
             LOG.info("policy " + policyId + " status changed to " + policyMode);
           } else {
-            LOG.info("policy " + policyId + " status does not change " + policyMode
-                + "; unknown input " + val);
+            LOG.fine("policy " + policyId + " status remains same " + policyMode);
           }
           break;
         } catch (IllegalArgumentException e) {