All XML Schemas for Apache Logging Services projects are published at this directory.
The canonical name for this directory is https://logging.apache.org/xml/ns
.
Important
|
There are two important things to understand about XSD versioning scheme used here to employ these schemas in your applications:
|
Log4j schemas
Log4j is a Java logging framework.
Following schemas model the Log4j runtime configuration, i.e., log4j2.xml
[1].
Publication date | File name | Description |
---|---|---|
2024-03-19 |
Released with Log4j |
|
N/A |
Points to the most recent XSD of major version |
|
2024-03-19 |
N/A |
|
N/A |
Points to the most recent XSD of major version |
<?xml version="1.0" encoding="UTF-8"?>
<Configuration xmlns="https://logging.apache.org/xml/ns"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-config-2.xsd">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d [%t] %p %c - %m%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="WARN">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>
Log4j Changelog schemas
Log4j Changelog is a tool to maintain changelogs. It is designed for Apache Log4j, but can be used for any Java project.
Publication date | File name | Description |
---|---|---|
2023-02-03 |
Released with Log4j Tools |
|
2023-03-17 |
Released with Log4j Tools |
|
2023-09-28 |
Released with Log4j Tools |
|
2023-12-13 |
Released with Log4j Tools |
|
2024-03-21 |
Released with Log4j Tools |
|
N/A |
Points to the most recent XSD of major version |
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://logging.apache.org/xml/ns"
xsi:schemaLocation="
https://logging.apache.org/xml/ns
https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
type="updated">
<issue id="2370" link="https://github.com/apache/logging-log4j2/pull/2370"/>
<description format="asciidoc">Update `actions/checkout` to version `4.1.2`</description>
</entry>
Log4j Docgen schemas
Log4j Docgen is a tool to maintain Log4j Core plugin documentation. It is designed for Apache Log4j.
Publication date | File name | Description |
---|---|---|
2024-03-21 |
Released with Log4j Tools |
|
N/A |
Points to the most recent XSD of major version |
log4j2.xml
for configuration.