Jean-Daniel Cryans commented on ZOOKEEPER-565:

+1 I like the INFO level and better message.

I guess something like this would show a different message? 

09/10/16 15:14:02 WARN zookeeper.ClientCnxn: Exception closing session 
0x1245f6866060002 to sun.nio.ch.selectionkeyi...@12efcfe
java.io.IOException: TIMED OUT
       at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:906)

> Revisit some java client log messages
> -------------------------------------
>                 Key: ZOOKEEPER-565
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-565
>             Project: Zookeeper
>          Issue Type: Improvement
>    Affects Versions: 3.2.1
>            Reporter: Jean-Daniel Cryans
> As discussed during the 10/23 meeting, some messages in the java client logs 
> are mixing up terms from different levels. For example:
> {code}
> 2009-10-14 15:12:43,566 WARN org.apache.zookeeper.ClientCnxn: Exception 
> closing session 0x1244f619478000d to sun.nio.ch.selectionkeyi...@15e32c4
> java.io.IOException: Session Expired
>    at 
> org.apache.zookeeper.ClientCnxn$SendThread.readConnectResult(ClientCnxn.java:589)
>    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:709)
>    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
> {code}
> Which session are we talking about in the first line? Now I know that it's a 
> network-related session and not the ZK one, but I've seen many of our users 
> getting confused over those lines. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to