Skip to content

Commit 5b52e11

Browse files
committed
not sure if this is what's causing the problem, but let's not do it yet
1 parent ee1120c commit 5b52e11

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

java/test/org/openqa/selenium/testing/JupiterTestBase.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
import java.net.MalformedURLException;
2323
import java.net.URL;
2424
import java.time.Duration;
25-
import java.util.Arrays;
2625
import java.util.Optional;
27-
import java.util.logging.Level;
2826
import java.util.logging.Logger;
2927
import org.junit.jupiter.api.AfterEach;
3028
import org.junit.jupiter.api.BeforeAll;
@@ -45,20 +43,6 @@ public abstract class JupiterTestBase {
4543

4644
@RegisterExtension protected static SeleniumExtension seleniumExtension = new SeleniumExtension();
4745

48-
static {
49-
if ("true".equalsIgnoreCase(System.getenv("DEBUG"))) {
50-
Logger rootLogger = Logger.getLogger("");
51-
rootLogger.setLevel(Level.FINE);
52-
Arrays.stream(rootLogger.getHandlers())
53-
.forEach(
54-
handler -> {
55-
handler.setLevel(Level.FINE);
56-
});
57-
58-
LOG.fine("Global debug logging enabled via DEBUG environment variable");
59-
}
60-
}
61-
6246
protected TestEnvironment environment;
6347
protected AppServer appServer;
6448
protected Pages pages;

0 commit comments

Comments
 (0)