You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Rakesh R (JIRA)" <ji...@apache.org> on 2016/08/04 18:44:20 UTC

[jira] [Created] (ZOOKEEPER-2501) Improve ZooKeeperServerListenerImpl#notifyStopping() logging

Rakesh R created ZOOKEEPER-2501:
-----------------------------------

             Summary: Improve ZooKeeperServerListenerImpl#notifyStopping() logging
                 Key: ZOOKEEPER-2501
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2501
             Project: ZooKeeper
          Issue Type: Improvement
          Components: server
            Reporter: Rakesh R
            Assignee: Rakesh R
            Priority: Minor


This jira is to address [~fpj]'s comment.

{code}
ZooKeeperCriticalThread#handleException() logs an error message including a throwable. Again, in ZooKeeperServerListenerImpl#notifyStopping(), it logs an info message with the exit code. Here it is better to consolidate the logging and have only a log error message here in this #notifyStopping method. We would need to change the signature and pass a throwable, though.
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)