zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronald Findling (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2359) ZooKeeper client has unnecessary logs for watcher removal errors
Date Mon, 27 May 2019 08:18:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16848708#comment-16848708
] 

Ronald Findling commented on ZOOKEEPER-2359:
--------------------------------------------

[~tamaas] Thx, I apparently overlooked that

> ZooKeeper client has unnecessary logs for watcher removal errors
> ----------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2359
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2359
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>    Affects Versions: 3.5.1
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>            Priority: Major
>             Fix For: 3.5.4, 3.6.0
>
>         Attachments: ZOOKEEPER-2359.patch
>
>
> ClientCnxn.java logs errors during watcher removal:
> LOG.error("Failed to find watcher!", nwe);
> LOG.error("Exception when removing watcher", ke);
> An error code/exception is generated so the logs are noisy and unnecessary. If the client
handles the error there's still a log message. This is different than other APIs. These logs
should be removed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message