I do not know if there is any parameter in the web interface to change the verbosity of the journal. But there should be a Zookeeper configuration folder (which uses Log4j) $ {ZOOKEEPER_HOME} / conf , where you can edit the logj4.properties file and specify:
zookeeper.console.threshold=WARN
But I think that these changes should not be done directly in Zookeeper, but in the HBase log configuration - $ {HBASE_HOME} / conf (HBase also uses Log4j), because HBase can control Zookeeper. There are several options that you can edit there:
# Define some default values that can be overridden by system properties hbase.root.logger=INFO,console hbase.security.logger=INFO,console # Main log level log4j.threshold=ALL # Zookeeper log level log4j.logger.org.apache.zookeeper=INFO
To find this file, you can try the following command:
$ find /* -name "log4j.properties" | grep -E "zookeeper|hbase" /hadoop/zookeeper/conf/log4j.properties /hadoop/hbase/conf/log4j.properties
Vit d source share