Merge "Set DEBUG log level for Elastisearch"

This commit is contained in:
Zuul
2020-02-11 15:14:07 +00:00
committed by Gerrit Code Review

View File

@@ -385,7 +385,7 @@ function start_elasticsearch {
echo_summary "Starting ElasticSearch ${ELASTICSEARCH_VERSION}"
# 5 extra seconds to ensure that ES started properly
local esSleepTime=${ELASTICSEARCH_SLEEP_TIME:-5}
run_process_sleep "elasticsearch" "$ELASTICSEARCH_DIR/bin/elasticsearch" $esSleepTime
run_process_sleep "elasticsearch" "$ELASTICSEARCH_DIR/bin/elasticsearch -E logger.org.elasticsearch=DEBUG" $esSleepTime
fi
}