diff --git a/java/integTest/src/test/java/glide/cluster/ClusterClientTests.java b/java/integTest/src/test/java/glide/cluster/ClusterClientTests.java index b777a0c9fe..8d23f8201f 100644 --- a/java/integTest/src/test/java/glide/cluster/ClusterClientTests.java +++ b/java/integTest/src/test/java/glide/cluster/ClusterClientTests.java @@ -16,17 +16,25 @@ import glide.api.models.configuration.ServerCredentials; import glide.api.models.exceptions.ClosingException; import glide.api.models.exceptions.RequestException; +import glide.api.logging.Logger; import java.util.Map; import java.util.UUID; import java.util.concurrent.ExecutionException; import lombok.SneakyThrows; import org.apache.commons.lang3.RandomStringUtils; +import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; @Timeout(10) // seconds public class ClusterClientTests { + @BeforeAll + public static void enable_log() { + Logger.init(Logger.Level.TRACE); + Logger.setLoggerConfig(Logger.Level.TRACE); + } + @SneakyThrows @Test public void register_client_name_and_version() { diff --git a/java/integTest/src/test/java/glide/standalone/StandaloneClientTests.java b/java/integTest/src/test/java/glide/standalone/StandaloneClientTests.java index 02551a6b9c..ecf17337b1 100644 --- a/java/integTest/src/test/java/glide/standalone/StandaloneClientTests.java +++ b/java/integTest/src/test/java/glide/standalone/StandaloneClientTests.java @@ -16,11 +16,13 @@ import glide.api.models.configuration.ServerCredentials; import glide.api.models.exceptions.ClosingException; import glide.api.models.exceptions.RequestException; +import glide.api.logging.Logger; import java.util.Map; import java.util.UUID; import java.util.concurrent.ExecutionException; import lombok.SneakyThrows; import org.apache.commons.lang3.RandomStringUtils; +import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; import org.junit.jupiter.params.ParameterizedTest; @@ -29,6 +31,12 @@ @Timeout(10) // seconds public class StandaloneClientTests { + @BeforeAll + public static void enable_log() { + Logger.init(Logger.Level.TRACE); + Logger.setLoggerConfig(Logger.Level.TRACE); + } + @SneakyThrows @Test public void register_client_name_and_version() {