Github user breed commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/561#discussion_r201304579
  
    --- Diff: src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java ---
    @@ -1047,14 +1047,19 @@ public void processConnectRequest(ServerCnxn cnxn, 
ByteBuffer incomingBuffer) th
             cnxn.disableRecv();
             long sessionId = connReq.getSessionId();
             if (sessionId == 0) {
    -            LOG.info("Client attempting to establish new session at "
    -                    + cnxn.getRemoteSocketAddress());
    -            createSession(cnxn, passwd, sessionTimeout);
    +            long id = createSession(cnxn, passwd, sessionTimeout);
    +            LOG.info("Client attempting to establish new session: session 
= 0x"
    --- End diff --
    
    shouldn't this also be debug like the other session messages?


---

Reply via email to