{% if hadoop_send_to_logstash %}
export ZOO_LOG4J_PROP="{{ hadoop_log_level }},{{ hadoop_logstash_appender }}"
export JVMFLAGS="-Dzookeeper.log.threshold={{ hadoop_log_level }},-Dzookeeper.root.logger={{ hadoop_log_level }},{{ hadoop_logstash_appender }}"
{% else %}
export ZOO_LOG4J_PROP="{{ hadoop_log_level }},{{ hadoop_log_appender }}"
export JVMFLAGS="-Dzookeeper.log.threshold={{ hadoop_log_level }},-Dzookeeper.root.logger={{ hadoop_log_level }},{{ hadoop_log_appender }}"
{% endif %}
