This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-site.git
The following commit(s) were added to refs/heads/main by this push:
new 227f23c3 Fix `log4j2.xml` example
227f23c3 is described below
commit 227f23c30b272f271f1ef45db2203fff6c047246
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Tue Mar 19 12:18:11 2024 +0100
Fix `log4j2.xml` example
---
xml/ns/index.adoc | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/xml/ns/index.adoc b/xml/ns/index.adoc
index c8c5084b..2b0b4bc6 100644
--- a/xml/ns/index.adoc
+++ b/xml/ns/index.adoc
@@ -60,16 +60,16 @@ Following schemas model the Log4j runtime configuration,
i.e., `log4j2.xml`.
xsi:schemaLocation="
https://logging.apache.org/xml/ns
https://logging.apache.org/xml/ns/log4j-config-2.xsd">
- <Appenders>
+ <appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d [%t] %p %c - %m%n"/>
</Console>
- </Appenders>
- <Loggers>
- <Root level="warn">
+ </appenders>
+ <loggers>
+ <root level="WARN">
<AppenderRef ref="Console"/>
- </Root>
- </Loggers>
+ </root>
+ </loggers>
</Configuration>
----