GitHub user Sammers21 opened a pull request: https://github.com/apache/kafka/pull/4153
KAFKA-6141: add disabling of useless embedded zookeeper error logs Created a function which sets `zkShutdownHandler` filed of a `ZooKeeperServer` object via reflection(because it field and `ZooKeeperServerShutdownHandler` is not accessible). So it is a solution because useless logs is eliminated. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Sammers21/kafka disabling_logs_of_embedded_zk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4153.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4153 ---- commit 355010aa0f4d3257958d2f28002f197a0665a2f6 Author: Sammers21 <titant...@gmail.com> Date: 2017-10-28T10:00:04Z add disableing of useless embedded zookeeper error logs ---- ---