Skip to content

Commit 9f8dff9

Browse files
authored
Remove debug logging in full cluster restart tests (#33612)
These logs are incredibly verbose, and it makes chasing normal failures burdensome. This commit removes the debug logging, which can be reenabled again if needed.
1 parent eca37e6 commit 9f8dff9

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

qa/full-cluster-restart/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ for (Version version : bwcVersions.indexCompatible) {
5353
// some tests rely on the translog not being flushed
5454
setting 'indices.memory.shard_inactive_time', '20m'
5555

56-
// debug logging for testRecovery
57-
setting 'logger.level', 'DEBUG'
58-
5956
if (version.onOrAfter('5.3.0')) {
6057
setting 'http.content_type.required', 'true'
6158
}
@@ -75,9 +72,6 @@ for (Version version : bwcVersions.indexCompatible) {
7572
// some tests rely on the translog not being flushed
7673
setting 'indices.memory.shard_inactive_time', '20m'
7774

78-
// debug logging for testRecovery
79-
setting 'logger.level', 'DEBUG'
80-
8175
numNodes = 2
8276
dataDir = { nodeNum -> oldClusterTest.nodes[nodeNum].dataDir }
8377
cleanShared = false // We want to keep snapshots made by the old cluster!

x-pack/qa/full-cluster-restart/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,6 @@ subprojects {
155155
// some tests rely on the translog not being flushed
156156
setting 'indices.memory.shard_inactive_time', '20m'
157157

158-
// debug logging for testRecovery see https://github.com/elastic/x-pack-elasticsearch/issues/2691
159-
setting 'logger.level', 'DEBUG'
160-
161158
setting 'xpack.security.enabled', 'true'
162159
setting 'xpack.security.transport.ssl.enabled', 'true'
163160
setting 'xpack.ssl.keystore.path', 'testnode.jks'
@@ -201,9 +198,6 @@ subprojects {
201198
setupCommand 'setupTestUser', 'bin/elasticsearch-users', 'useradd', 'test_user', '-p', 'x-pack-test-password', '-r', 'superuser'
202199
waitCondition = waitWithAuth
203200

204-
// debug logging for testRecovery see https://github.com/elastic/x-pack-elasticsearch/issues/2691
205-
setting 'logger.level', 'DEBUG'
206-
207201
// some tests rely on the translog not being flushed
208202
setting 'indices.memory.shard_inactive_time', '20m'
209203
setting 'xpack.security.enabled', 'true'

0 commit comments

Comments
 (0)