You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Lorrin Nelson (JIRA)" <ji...@apache.org> on 2017/05/31 17:53:04 UTC

[jira] [Commented] (ZOOKEEPER-2359) ZooKeeper client has unnecessary logs for watcher removal errors

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

Lorrin Nelson commented on ZOOKEEPER-2359:
------------------------------------------

It's been a few months. Maybe someone else can do the commit?

> 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
>         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
(v6.3.15#6346)