diff --git a/instrumentation/log4j/log4j-appender-2.17/library/README.md b/instrumentation/log4j/log4j-appender-2.17/library/README.md
index 4b765b1d4a..42decc1e08 100644
--- a/instrumentation/log4j/log4j-appender-2.17/library/README.md
+++ b/instrumentation/log4j/log4j-appender-2.17/library/README.md
@@ -33,7 +33,7 @@ runtimeOnly("io.opentelemetry.instrumentation:opentelemetry-log4j-appender-2.17:
### Usage
-The following demonstrates how you might configure the appender in your `log4j.xml` configuration:
+The following demonstrates how you might configure the appender in your `log4j2.xml` configuration:
```xml
@@ -46,9 +46,9 @@ The following demonstrates how you might configure the appender in your `log4j.x
-
-
-
+
+
+
diff --git a/instrumentation/log4j/log4j-appender-2.17/library/src/test/resources/log4j2.xml b/instrumentation/log4j/log4j-appender-2.17/library/src/test/resources/log4j2.xml
index 0218106874..39c79fc1c7 100644
--- a/instrumentation/log4j/log4j-appender-2.17/library/src/test/resources/log4j2.xml
+++ b/instrumentation/log4j/log4j-appender-2.17/library/src/test/resources/log4j2.xml
@@ -10,11 +10,11 @@
-
-
+
+
-
-
+
+
diff --git a/instrumentation/log4j/log4j-context-data/log4j-context-data-common/testing/src/main/resources/log4j2-test.xml b/instrumentation/log4j/log4j-context-data/log4j-context-data-common/testing/src/main/resources/log4j2-test.xml
index fce95a4f69..ee98872100 100644
--- a/instrumentation/log4j/log4j-context-data/log4j-context-data-common/testing/src/main/resources/log4j2-test.xml
+++ b/instrumentation/log4j/log4j-context-data/log4j-context-data-common/testing/src/main/resources/log4j2-test.xml
@@ -8,11 +8,11 @@
-
-
+
+
-
-
+
+