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)