Closed icql closed 5 years ago
As per official documentation
The ZooKeeper default log4j.properties file resides in the conf directory. Log4j requires that log4j.properties either be in the working directory (the directory from which ZooKeeper is run) or be accessible from the classpath.
Since you're mounting the whole /conf
directory its default content including log4j.properties
file is rewritten.
The solution here would be either putting log4j.properties
to your /app/zookeeper/zooX/conf
or mounting only the config file: /app/zookeeper/zooX/conf/zoo.cfg:/conf/zoo.cfg
Thanks
logs will be missing when mounting logs and conf at the same time. zookeeper 3.5.5
Expected behavior
the log4j file should exist.
Actual behavior
the log4j file is missing.
Steps to reproduce the behavior
docker-compose up by the following configuration file.
System configuration
docker-compose.yml