They offer a free software you can use to leverage containerization in your development process. docker stop 'container-name' where container-name is the name you gave the container on the Docker tab. This will write logs to /logs/zookeeper.log. So, create a new file and call it as docker-compose-dev.yml and put the code below in it.
To accommodate the various scenarios of Python projects, some apps may require additional configuration.
You can redirect to a file located in /logs by passing environment variable ZOO_LOG4J_PROP as follows: $ docker run -name some-zookeeper -restart always -e ZOO_LOG4J_PROP='INFO,ROLLINGFILE' zookeeper.