diff --git a/docs/documentation/tests/pom.xml b/docs/documentation/tests/pom.xml
index 3c2559aef2..c65992a416 100644
--- a/docs/documentation/tests/pom.xml
+++ b/docs/documentation/tests/pom.xml
@@ -3,7 +3,6 @@
4.0.0
- 2.17.1
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
@@ -124,18 +123,6 @@
2.7
test
-
- org.apache.logging.log4j
- log4j-api
- ${version.log4j}
- test
-
-
- org.apache.logging.log4j
- log4j-core
- ${version.log4j}
- test
-
org.asciidoctor
asciidoctorj
@@ -148,10 +135,6 @@
5.0.1
test
-
- org.slf4j
- slf4j-reload4j
-
diff --git a/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Config.java b/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Config.java
index 93995475f4..05f3380dcd 100644
--- a/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Config.java
+++ b/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Config.java
@@ -1,8 +1,6 @@
package org.keycloak.documentation.test;
import org.apache.commons.io.IOUtils;
-import org.apache.logging.log4j.LogManager;
-import org.apache.logging.log4j.Logger;
import org.asciidoctor.Asciidoctor;
import org.asciidoctor.AttributesBuilder;
import org.asciidoctor.OptionsBuilder;
@@ -16,8 +14,6 @@ import java.util.Map;
public class Config {
- private static final Logger log = LogManager.getLogger(Config.class);
-
protected static final Config instance = new Config();
private File docsRootDir;
diff --git a/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Guide.java b/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Guide.java
index bcd6878b4b..baac73d7b0 100644
--- a/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Guide.java
+++ b/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/Guide.java
@@ -1,7 +1,5 @@
package org.keycloak.documentation.test;
-import org.apache.logging.log4j.LogManager;
-import org.apache.logging.log4j.Logger;
import org.keycloak.documentation.test.utils.DocUtils;
import java.io.File;
@@ -12,8 +10,6 @@ import java.util.Map;
public class Guide {
- private static final Logger log = LogManager.getLogger(Guide.class);
-
protected DocUtils utils = new DocUtils();
private String guide;
@@ -36,7 +32,6 @@ public class Guide {
File htmlFile = config.getGuideHtmlFile(guide);
body = utils.readBody(htmlFile);
} else {
- log.info("Loading guide from '" + guideUrl);
body = utils.readBody(new URL(guideUrl));
}
diff --git a/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/utils/LinkUtils.java b/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/utils/LinkUtils.java
index 912fc524c0..332faa650d 100644
--- a/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/utils/LinkUtils.java
+++ b/docs/documentation/tests/src/test/java/org/keycloak/documentation/test/utils/LinkUtils.java
@@ -1,8 +1,6 @@
package org.keycloak.documentation.test.utils;
import org.apache.commons.io.FileUtils;
-import org.apache.logging.log4j.LogManager;
-import org.apache.logging.log4j.Logger;
import org.keycloak.documentation.test.Config;
import org.keycloak.documentation.test.Guide;
@@ -11,20 +9,18 @@ import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
-import java.util.Map;
-import java.util.List;
-import java.util.Set;
+import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
-import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
import java.util.Properties;
+import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class LinkUtils {
- private static final Logger logger = LogManager.getLogger(LinkUtils.class);
-
private static final LinkUtils instance = new LinkUtils();
private HttpUtils http = new HttpUtils();
diff --git a/docs/documentation/tests/src/test/resources/log4j.properties b/docs/documentation/tests/src/test/resources/log4j.properties
deleted file mode 100644
index ff5c214ec1..0000000000
--- a/docs/documentation/tests/src/test/resources/log4j.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-log4j.rootLogger=info, keycloak
-
-log4j.appender.keycloak=org.apache.log4j.ConsoleAppender
-log4j.appender.keycloak.layout=org.apache.log4j.PatternLayout
-log4j.appender.keycloak.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c] %m%n
\ No newline at end of file