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

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


The following commit(s) were added to refs/heads/master by this push:
     new a347d0f  remove log before write error message to ZNode (#1955)
a347d0f is described below

commit a347d0f2316e3e4a03ca47ee16c493a94e336142
Author: xyuanlu <[email protected]>
AuthorDate: Mon Feb 7 15:07:16 2022 -0800

    remove log before write error message to ZNode (#1955)
    
    Remove message logging before writing ZNode.
---
 helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java 
b/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java
index 1d70f99..2159edd 100644
--- a/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java
+++ b/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java
@@ -555,7 +555,6 @@ public class StatusUpdateUtil {
    */
   void publishErrorRecord(ZNRecord record, String instanceName, String 
updateSubPath,
       String updateKey, String sessionId, HelixDataAccessor accessor, boolean 
isController) {
-    _logger.error("StatusUpdate Error record: {}", record);
     if (!ERROR_LOG_TO_ZK_ENABLED) {
       return;
     }

Reply via email to