You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2020/05/07 14:22:50 UTC
[GitHub] [zookeeper] maoling commented on a change in pull request #1332: ZOOKEEPER-3800: improve the log printing the address when QuorumCnxManager#ListenerHandler's port binds
maoling commented on a change in pull request #1332:
URL: https://github.com/apache/zookeeper/pull/1332#discussion_r421543941
##########
File path: zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/QuorumCnxManager.java
##########
@@ -1090,7 +1090,7 @@ private void acceptConnections() {
break;
}
- LOG.error("Exception while listening", e);
+ LOG.error("Exception while listening on port {}", address, e);
Review comment:
- `LOG.error("Exception while listening to address{}", address, e);` is better?
- I will re-test this patch tomorrow
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org