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

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/curator.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a09c11  CURATOR-526: drop log level for message to debug
7a09c11 is described below

commit 7a09c1122843f178d2e4037359c68957071528ab
Author: Ammar Khaku <[email protected]>
AuthorDate: Sun Mar 28 16:41:42 2021 +0200

    CURATOR-526: drop log level for message to debug
    
    ZooKeeper is backwards compatible and accepts older config
    string formats, albeit without dynamic configuration
    support. Since the older format is acceptable, we should not
    log at error when we see the older format and should
    instead simply log at debug.
    
    Author: Ammar Khaku <[email protected]>
    
    Reviewers: Enrico Olivelli <[email protected]>, Russell Bolles
    
    Closes #382 from akhaku/dropLogLevel
---
 .../main/java/org/apache/curator/framework/imps/EnsembleTracker.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/curator-framework/src/main/java/org/apache/curator/framework/imps/EnsembleTracker.java
 
b/curator-framework/src/main/java/org/apache/curator/framework/imps/EnsembleTracker.java
index 75bb68a..274a95e 100644
--- 
a/curator-framework/src/main/java/org/apache/curator/framework/imps/EnsembleTracker.java
+++ 
b/curator-framework/src/main/java/org/apache/curator/framework/imps/EnsembleTracker.java
@@ -211,7 +211,7 @@ public class EnsembleTracker implements Closeable, 
CuratorWatcher
             }
             else
             {
-                log.error("Invalid config event received: {}", properties);
+                log.debug("Invalid config event received: {}", properties);
             }
         }
         else

Reply via email to