From b326926e7627bacc32b416bcfa02d6e0da16b0c9 Mon Sep 17 00:00:00 2001 From: Ievgen Degtiarenko Date: Fri, 9 Jun 2023 09:16:07 +0200 Subject: [PATCH] Debug ccr connection failure in docs build (#96699) (#96719) Set DEBUG log level to be able to troubleshoot failures to connect to local CCR cluster. --- docs/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/build.gradle b/docs/build.gradle index d7297c04ea300..49513301db0c7 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -65,6 +65,13 @@ testClusters.matching { it.name == "yamlRestTest"}.configureEach { keystorePassword 'keystore-password' } + // debug ccr test failures: + // https://github.com/elastic/elasticsearch/issues/95678 + // https://github.com/elastic/elasticsearch/issues/94359 + // https://github.com/elastic/elasticsearch/issues/96561 + setting 'logger.org.elasticsearch.transport.SniffConnectionStrategy', 'DEBUG' + setting 'logger.org.elasticsearch.transport.RemoteClusterService', 'DEBUG' + // enable regexes in painless so our tests don't complain about example snippets that use them setting 'script.painless.regex.enabled', 'true' setting 'xpack.security.enabled', 'false'