[
https://issues.apache.org/jira/browse/ZOOKEEPER-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162389#comment-13162389
]
Akira Kitada commented on ZOOKEEPER-1315:
-----------------------------------------
I didn't add tests because I thought the patch is trivial enough and
writing a test that checks stderr output would be tricky.
To verify the fix, I changed the code manually to print INFO log and
checked if it emits "sessionPasswd=<null>" and "sessionPasswd=<hidden>"
according to the condition.
> zookeeper_init always reports sessionPasswd=<hidden>
> ----------------------------------------------------
>
> Key: ZOOKEEPER-1315
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1315
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Affects Versions: 3.3.4, 3.4.0
> Reporter: Akira Kitada
> Priority: Minor
> Attachments: ZOOKEEPER-1315.patch
>
>
> zookeeper_init always reports sessionPasswd=<hidden> even when it's empty.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira