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-log4j-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 95889e9  Fix `log4j-changelog:release` failure on empty unreleased 
changelog directory (#90)
95889e9 is described below

commit 95889e9b8da94afd7758ef26f9d4f089324be281
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Wed Dec 13 14:33:53 2023 +0100

    Fix `log4j-changelog:release` failure on empty unreleased changelog 
directory (#90)
---
 .../changelog/releaser/ChangelogReleaser.java      |  5 +++
 .../log4j/changelog/ChangelogReleaserTest.java     | 23 +++++++++--
 .../.changelog.adoc.ftl                            | 26 ++++++++++++
 .../8-no-unreleased-directories/.changelog.txt.ftl | 26 ++++++++++++
 .../8-no-unreleased-directories/.index.adoc.ftl    | 22 ++++++++++
 .../2.17.2/.release-notes.adoc.ftl                 | 47 ++++++++++++++++++++++
 .../2.17.2/.release.xml                            | 21 ++++++++++
 ...s_initialized_if_the_LoggerFactory_is_provi.xml | 26 ++++++++++++
 ...ContextDataInjector_initialization_deadlock.xml | 25 ++++++++++++
 ..._Spring_Boot_Lookup_requires_the_log4j_spri.xml | 25 ++++++++++++
 .../2.18.0/.release-notes.adoc.ftl                 | 36 +++++++++++++++++
 .../2.18.0/.release.xml                            | 21 ++++++++++
 ...erStrategy_should_use_the_current_time_when.xml | 25 ++++++++++++
 ...lloverStrategy_was_not_detecting_the_correc.xml | 25 ++++++++++++
 ...se_Paths_get_to_avoid_circular_file_systems.xml | 25 ++++++++++++
 .../2.19.0/.release-notes.adoc.ftl                 | 21 ++++++++++
 .../2.19.0/.release-notes.common.ftl               | 18 +++++++++
 .../2.19.0/.release-notes.md.ftl                   | 21 ++++++++++
 .../2.19.0/.release-notes.txt.ftl                  | 21 ++++++++++
 .../2.19.0/.release.xml                            | 21 ++++++++++
 ...Add_getExplicitLevel_method_to_LoggerConfig.xml | 25 ++++++++++++
 ...ConsoleListener_use_SimpleLogger_internally.xml | 25 ++++++++++++
 ..._InstantFormatter_against_delegate_failures.xml | 26 ++++++++++++
 .../LOG4J2-3657_fix_TL_usage_in_AbstractLogger.xml | 26 ++++++++++++
 .../fix-releaser-on-empty-unreleased-dir.xml       | 24 +++++++++++
 src/site/_release-notes/_0.x.x.adoc                |  6 +++
 26 files changed, 608 insertions(+), 4 deletions(-)

diff --git 
a/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/releaser/ChangelogReleaser.java
 
b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/releaser/ChangelogReleaser.java
index e682001..b1882fe 100644
--- 
a/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/releaser/ChangelogReleaser.java
+++ 
b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/releaser/ChangelogReleaser.java
@@ -48,6 +48,11 @@ public final class ChangelogReleaser {
                     
ChangelogFiles.unreleasedDirectory(args.changelogDirectory, 
args.releaseVersionMajor);
             final Path releaseDirectory = 
ChangelogFiles.releaseDirectory(args.changelogDirectory, args.releaseVersion);
 
+            // Short-circuit if there is nothing to be released
+            if (!Files.exists(unreleasedDirectory)) {
+                return;
+            }
+
             // Populate the release changelog files
             populateReleaseChangelogEntryFiles(unreleasedDirectory, 
releaseDirectory);
             populateReleaseXmlFiles(releaseDate, args.releaseVersion, 
releaseDirectory);
diff --git 
a/log4j-changelog/src/test/java/org/apache/logging/log4j/changelog/ChangelogReleaserTest.java
 
b/log4j-changelog/src/test/java/org/apache/logging/log4j/changelog/ChangelogReleaserTest.java
index 097a259..8eec57b 100644
--- 
a/log4j-changelog/src/test/java/org/apache/logging/log4j/changelog/ChangelogReleaserTest.java
+++ 
b/log4j-changelog/src/test/java/org/apache/logging/log4j/changelog/ChangelogReleaserTest.java
@@ -25,6 +25,7 @@ import java.nio.file.Paths;
 import java.time.LocalDate;
 import org.apache.logging.log4j.changelog.releaser.ChangelogReleaser;
 import org.apache.logging.log4j.changelog.releaser.ChangelogReleaserArgs;
+import org.junit.jupiter.api.Order;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.io.CleanupMode;
 import org.junit.jupiter.api.io.TempDir;
@@ -32,18 +33,32 @@ import org.junit.jupiter.api.io.TempDir;
 class ChangelogReleaserTest {
 
     @Test
-    void first_time_release_output_should_match(
-            @TempDir(cleanup = CleanupMode.ON_SUCCESS) final Path 
changelogDirectory) throws Exception {
+    @Order(1)
+    void _1st_time_release_output_should_match(@TempDir(cleanup = 
CleanupMode.ON_SUCCESS) final Path changelogDirectory)
+            throws Exception {
         verifyReleaseOutput(changelogDirectory, 
"src/test/resources/3-enriched", "src/test/resources/5-released");
     }
 
     @Test
-    void second_time_release_output_should_match(
-            @TempDir(cleanup = CleanupMode.ON_SUCCESS) final Path 
changelogDirectory) throws Exception {
+    @Order(2)
+    void _2nd_time_release_output_should_match(@TempDir(cleanup = 
CleanupMode.ON_SUCCESS) final Path changelogDirectory)
+            throws Exception {
         verifyReleaseOutput(
                 changelogDirectory, "src/test/resources/6-enriched-again", 
"src/test/resources/7-released-again");
     }
 
+    @Test
+    @Order(3)
+    void _3rd_time_release_without_unreleased_directories_should_match(
+            @TempDir(cleanup = CleanupMode.ON_SUCCESS) final Path 
changelogDirectory) throws Exception {
+        // We verify the `8-no-unreleased-directories` directory against 
itself.
+        // This is valid, since we indeed expect no changes due to missing 
`.2.x.x`, etc. (i.e., unreleased) folders.
+        verifyReleaseOutput(
+                changelogDirectory,
+                "src/test/resources/8-no-unreleased-directories",
+                "src/test/resources/8-no-unreleased-directories");
+    }
+
     private static void verifyReleaseOutput(
             final Path changelogDirectory,
             final String referenceChangelogDirectory,
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/.changelog.adoc.ftl
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/.changelog.adoc.ftl
new file mode 100644
index 0000000..5622786
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/.changelog.adoc.ftl
@@ -0,0 +1,26 @@
+<#--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements. See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License. You may obtain a copy of the License at
+
+      https://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<#if entriesByType?size gt 0>== Changes
+<#list entriesByType as entryType, entries>
+
+=== ${entryType?capitalize}
+
+<#list entries as entry>
+* ${entry.description.text?replace("\\s+", " ", "r")}<#if 
entry.issues?has_content> [<#list entry.issues as 
issue>${issue.link}[${issue.id}]<#if issue?has_next>, </#if></#list>]</#if><#if 
entry.authors?has_content> (<#list entry.authors as author><#if 
author.id?has_content>@${author.id}<#else>${author.name}</#if><#if 
author?has_next>, </#if></#list>)</#if>
+</#list>
+</#list>
+</#if>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/.changelog.txt.ftl
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/.changelog.txt.ftl
new file mode 100644
index 0000000..fd135eb
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/.changelog.txt.ftl
@@ -0,0 +1,26 @@
+<#--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements. See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License. You may obtain a copy of the License at
+
+      https://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<#if entriesByType?size gt 0>=== Changes
+<#list entriesByType as entryType, entries>
+
+--- ${entryType?capitalize}
+
+<#list entries as entry>
+* ${entry.description.text?replace("\\s+", " ", "r")} (<#list entry.issues as 
issue>${issue.link}[${issue.id}]<#if issue?has_next>, </#if></#list>)
+</#list>
+</#list>
+</#if>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/.index.adoc.ftl
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/.index.adoc.ftl
new file mode 100644
index 0000000..8be38da
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/.index.adoc.ftl
@@ -0,0 +1,22 @@
+////
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         https://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+////
+
+= Release notes
+
+<#list releases as release><#if release.changelogEntryCount gt 0>
+* xref:${release.version}.adoc[${release.version}]<#if 
release.date?has_content> (${release.date})</#if>
+</#if></#list>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/.release-notes.adoc.ftl
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/.release-notes.adoc.ftl
new file mode 100644
index 0000000..bc0ffc4
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/.release-notes.adoc.ftl
@@ -0,0 +1,47 @@
+////
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         https://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+////
+
+= ${release.version}<#if release.date?has_content> (${release.date})</#if>
+
+This release contains the changes noted below:
+
+* Over 50 improvements and fixes to the Log4j 1.x support.
+Continued testing has shown it is a suitable replacement for Log4j 1.x in most 
cases.
+* Scripting now requires a system property be specified naming the languages 
the user wishes to allow.
+The scripting engine will not load if the property isn't set.
+* By default, the only remote protocol allowed for loading configuration files 
is HTTPS.
+Users can specify a system property to allow others or prevent remote loading 
entirely.
+* Variable resolution has been modified so that only properties defined as 
properties in the configuration file can be recursive.
+All other Lookups are now non-recursive.
+This addresses issues users were having resolving lookups specified in 
property definitions for use in the `RoutingAppender` and `RollingFileAppender` 
due to restrictions put in place in 2.17.1.
+* Many other fixes and improvements.
+
+Due to a break in compatibility in the SLF4J binding, Log4j now ships with two 
versions of the SLF4J to Log4j adapters.
+`log4j-slf4j-impl` should be used with SLF4J 1.7.x and earlier and 
`log4j-slf4j18-impl` should be used with SLF4J 1.8.x and later.
+SLF4J-2.0.0 alpha releases are not fully supported.
+See https://issues.apache.org/jira/browse/LOG4J2-2975[LOG4J2-2975] and 
https://jira.qos.ch/browse/SLF4J-511[SLF4J-511].
+
+The Log4j 2.17.2 API, as well as many core components, maintains binary 
compatibility with previous releases.
+
+Apache Log4j 2.17.2 requires a minimum of Java 8 to build and run.
+Log4j 2.12.4 is the last release to support Java 7.
+Log4j 2.3.2 is the last release to support Java 6.
+Java 6 and Java 7 are no longer supported by the Log4j team.
+
+For complete information on Apache Log4j 2, including instructions on how to 
submit bug reports, patches, or suggestions for improvement, see 
http://logging.apache.org/log4j/2.x/[the Apache Log4j 2 website].
+
+<#include "../.changelog.adoc.ftl">
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/.release.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/.release.xml
new file mode 100644
index 0000000..af809e2
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/.release.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<release xmlns="http://logging.apache.org/log4j/changelog";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+         date="2022-02-23" version="2.17.2"/>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/LOG4J2-3304_Flag_LogManager_as_initialized_if_the_LoggerFactory_is_provi.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/LOG4J2-3304_Flag_LogManager_as_initialized_if_the_LoggerFactory_is_provi.xml
new file mode 100644
index 0000000..ee96f5d
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/LOG4J2-3304_Flag_LogManager_as_initialized_if_the_LoggerFactory_is_provi.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns="http://logging.apache.org/log4j/changelog";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="fixed">
+  <issue id="LOG4J2-3304" 
link="https://issues.apache.org/jira/browse/LOG4J2-3304"/>
+  <author id="rgoers"/>
+  <author name="francis-FY"/>
+  <description format="asciidoc">Flag `LogManager` as initialized if the 
`LoggerFactory` is provided as a property</description>
+</entry>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/LOG4J2-3333_Fix_ThreadContextDataInjector_initialization_deadlock.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/LOG4J2-3333_Fix_ThreadContextDataInjector_initialization_deadlock.xml
new file mode 100644
index 0000000..c29a5b3
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/LOG4J2-3333_Fix_ThreadContextDataInjector_initialization_deadlock.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns="http://logging.apache.org/log4j/changelog";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="removed">
+  <issue id="LOG4J2-3333" 
link="https://issues.apache.org/jira/browse/LOG4J2-3333"/>
+  <author id="ckozak"/>
+  <description format="asciidoc">Fix `ThreadContextDataInjector` 
initialization deadlock</description>
+</entry>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/LOG4J2-3405_Document_that_the_Spring_Boot_Lookup_requires_the_log4j_spri.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/LOG4J2-3405_Document_that_the_Spring_Boot_Lookup_requires_the_log4j_spri.xml
new file mode 100644
index 0000000..11f82e1
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.17.2/LOG4J2-3405_Document_that_the_Spring_Boot_Lookup_requires_the_log4j_spri.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns="http://logging.apache.org/log4j/changelog";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="removed">
+  <issue id="LOG4J2-3405" 
link="https://issues.apache.org/jira/browse/LOG4J2-3405"/>
+  <author id="rgoers"/>
+  <description format="asciidoc">Document that the Spring Boot Lookup requires 
the `log4j-spring-boot` dependency</description>
+</entry>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/.release-notes.adoc.ftl
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/.release-notes.adoc.ftl
new file mode 100644
index 0000000..a388c95
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/.release-notes.adoc.ftl
@@ -0,0 +1,36 @@
+////
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         https://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+////
+
+= ${release.version}<#if release.date?has_content> (${release.date})</#if>
+
+This release primarily contains bug fixes and minor enhancements.
+
+Due to a break in compatibility in the SLF4J binding, Log4j now ships with two 
versions of the SLF4J to Log4j adapters.
+`log4j-slf4j-impl` should be used with SLF4J 1.7.x and earlier and 
`log4j-slf4j18-impl` should be used with SLF4J 1.8.x and later.
+SLF4J-2.0.0 alpha releases are not fully supported.
+See https://issues.apache.org/jira/browse/LOG4J2-2975[LOG4J2-2975] and 
https://jira.qos.ch/browse/SLF4J-511[SLF4J-511].
+
+The Log4j 2.18.0 API, as well as many core components, maintains binary 
compatibility with previous releases.
+
+Apache Log4j 2.18.0 requires a minimum of Java 8 to build and run.
+Log4j 2.12.4 is the last release to support Java 7.
+Log4j 2.3.2 is the last release to support Java 6.
+Java 6 and Java 7 are no longer supported by the Log4j team.
+
+For complete information on Apache Log4j 2, including instructions on how to 
submit bug reports, patches, or suggestions for improvement, see 
http://logging.apache.org/log4j/2.x/[the Apache Log4j 2 website].
+
+<#include "../.changelog.adoc.ftl">
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/.release.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/.release.xml
new file mode 100644
index 0000000..8644d44
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/.release.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<release xmlns="http://logging.apache.org/log4j/changelog";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+         date="2022-06-28" version="2.18.0"/>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/LOG4J2-3339_DirectWriteRolloverStrategy_should_use_the_current_time_when.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/LOG4J2-3339_DirectWriteRolloverStrategy_should_use_the_current_time_when.xml
new file mode 100644
index 0000000..fc192ec
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/LOG4J2-3339_DirectWriteRolloverStrategy_should_use_the_current_time_when.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns="http://logging.apache.org/log4j/changelog";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="fixed">
+  <issue id="LOG4J2-3339" 
link="https://issues.apache.org/jira/browse/LOG4J2-3339"/>
+  <author id="rgoers"/>
+  <description format="asciidoc">`DirectWriteRolloverStrategy` should use the 
current time when creating files</description>
+</entry>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/LOG4J2-3490_The_DirectWriteRolloverStrategy_was_not_detecting_the_correc.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/LOG4J2-3490_The_DirectWriteRolloverStrategy_was_not_detecting_the_correc.xml
new file mode 100644
index 0000000..12ca1b4
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/LOG4J2-3490_The_DirectWriteRolloverStrategy_was_not_detecting_the_correc.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns="http://logging.apache.org/log4j/changelog";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="removed">
+  <issue id="LOG4J2-3490" 
link="https://issues.apache.org/jira/browse/LOG4J2-3490"/>
+  <author id="rgoers"/>
+  <description format="asciidoc">The `DirectWriteRolloverStrategy` was not 
detecting the correct index to use during startup</description>
+</entry>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/LOG4J2-3527_Don_t_use_Paths_get_to_avoid_circular_file_systems.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/LOG4J2-3527_Don_t_use_Paths_get_to_avoid_circular_file_systems.xml
new file mode 100644
index 0000000..3a12a61
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.18.0/LOG4J2-3527_Don_t_use_Paths_get_to_avoid_circular_file_systems.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns="http://logging.apache.org/log4j/changelog";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="added">
+  <issue id="LOG4J2-3527" 
link="https://issues.apache.org/jira/browse/LOG4J2-3527"/>
+  <author id="rgoers"/>
+  <description format="asciidoc">Don't use `Paths.get()` to avoid circular 
file systems</description>
+</entry>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.adoc.ftl
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.adoc.ftl
new file mode 100644
index 0000000..baa52d9
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.adoc.ftl
@@ -0,0 +1,21 @@
+////
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         https://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+////
+
+= ${release.version}<#if release.date?has_content> (${release.date})</#if>
+<#include ".release-notes.common.ftl">
+
+<#include "../.changelog.adoc.ftl">
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.common.ftl
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.common.ftl
new file mode 100644
index 0000000..a1267ac
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.common.ftl
@@ -0,0 +1,18 @@
+<#--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements. See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License. You may obtain a copy of the License at
+
+      https://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+Changes staged for the next 2.19.0 version that is yet to be released.
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.md.ftl
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.md.ftl
new file mode 100644
index 0000000..122eabd
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.md.ftl
@@ -0,0 +1,21 @@
+<#--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements. See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License. You may obtain a copy of the License at
+
+      https://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+### ${release.version}<#if release.date?has_content> (${release.date})</#if> 
###
+<#include ".release-notes.common.ftl">
+
+<#include "../.changelog.txt.ftl">
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.txt.ftl
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.txt.ftl
new file mode 100644
index 0000000..122eabd
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release-notes.txt.ftl
@@ -0,0 +1,21 @@
+<#--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements. See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License. You may obtain a copy of the License at
+
+      https://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+### ${release.version}<#if release.date?has_content> (${release.date})</#if> 
###
+<#include ".release-notes.common.ftl">
+
+<#include "../.changelog.txt.ftl">
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release.xml
new file mode 100644
index 0000000..fb6b2d4
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/.release.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<release xmlns="http://logging.apache.org/log4j/changelog";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+         date="2023-01-25" version="2.19.0"/>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3572_Add_getExplicitLevel_method_to_LoggerConfig.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3572_Add_getExplicitLevel_method_to_LoggerConfig.xml
new file mode 100644
index 0000000..d3fef61
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3572_Add_getExplicitLevel_method_to_LoggerConfig.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns="http://logging.apache.org/log4j/changelog";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="changed">
+  <issue id="LOG4J2-3572" 
link="https://issues.apache.org/jira/browse/LOG4J2-3572"/>
+  <author id="rgoers"/>
+  <description format="asciidoc">Add `getExplicitLevel` method to 
`LoggerConfig`</description>
+</entry>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3584_Make_StatusConsoleListener_use_SimpleLogger_internally.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3584_Make_StatusConsoleListener_use_SimpleLogger_internally.xml
new file mode 100644
index 0000000..9ba4738
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3584_Make_StatusConsoleListener_use_SimpleLogger_internally.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns="http://logging.apache.org/log4j/changelog";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="fixed">
+  <issue id="LOG4J2-3584" 
link="https://issues.apache.org/jira/browse/LOG4J2-3584"/>
+  <author id="vy"/>
+  <description format="asciidoc">Make `StatusConsoleListener` use 
`SimpleLogger` internally</description>
+</entry>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3614_Harden_InstantFormatter_against_delegate_failures.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3614_Harden_InstantFormatter_against_delegate_failures.xml
new file mode 100644
index 0000000..eb1709c
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3614_Harden_InstantFormatter_against_delegate_failures.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns="http://logging.apache.org/log4j/changelog";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="fixed">
+  <issue id="LOG4J2-3614" 
link="https://issues.apache.org/jira/browse/LOG4J2-3614"/>
+  <author id="vy"/>
+  <author name="strainu"/>
+  <description format="asciidoc">Harden `InstantFormatter` against delegate 
failures</description>
+</entry>
diff --git 
a/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3657_fix_TL_usage_in_AbstractLogger.xml
 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3657_fix_TL_usage_in_AbstractLogger.xml
new file mode 100644
index 0000000..ee79cb4
--- /dev/null
+++ 
b/log4j-changelog/src/test/resources/8-no-unreleased-directories/2.19.0/LOG4J2-3657_fix_TL_usage_in_AbstractLogger.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns="http://logging.apache.org/log4j/changelog";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="fixed">
+  <issue id="LOG4J2-3657" 
link="https://issues.apache.org/jira/browse/LOG4J2-3657"/>
+  <author name="Marat Kamalov"/>
+  <author id="vy"/>
+  <description format="asciidoc">When ``ThreadLocal``s are disabled, avoid 
allocating them in `AbstractLogger` causing memory leaks due to retained 
reference to class loaders in web applications</description>
+</entry>
diff --git a/src/changelog/.0.x.x/fix-releaser-on-empty-unreleased-dir.xml 
b/src/changelog/.0.x.x/fix-releaser-on-empty-unreleased-dir.xml
new file mode 100644
index 0000000..2cad7ce
--- /dev/null
+++ b/src/changelog/.0.x.x/fix-releaser-on-empty-unreleased-dir.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns="http://logging.apache.org/log4j/changelog";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="fixed">
+  <issue id="90" 
link="https://github.com/apache/logging-log4j-tools/issues/90"/>
+  <description format="asciidoc">Fix `log4j-changelog:release` failure on 
empty unreleased changelog directory</description>
+</entry>
diff --git a/src/site/_release-notes/_0.x.x.adoc 
b/src/site/_release-notes/_0.x.x.adoc
index 857a718..669d6bf 100644
--- a/src/site/_release-notes/_0.x.x.adoc
+++ b/src/site/_release-notes/_0.x.x.adoc
@@ -46,3 +46,9 @@ This minor release contains various bug fixes and 
improvements.
 
 * Update `commons-io:commons-io` to version `2.15.1` 
(https://github.com/apache/logging-log4j-tools/pull/86[86])
 * Update `org.apache.maven.plugin-tools:maven-plugin-annotations` to version 
`3.10.2` (https://github.com/apache/logging-log4j-tools/pull/87[87])
+
+[#release-notes-0-x-x-fixed]
+==== Fixed
+
+* Fix `log4j-changelog:release` failure on empty unreleased changelog 
directory (https://github.com/apache/logging-log4j-tools/issues/90[90])
+* Fix parsing of patch versions in `log4j-changelog:release` goal 
(https://github.com/apache/logging-log4j-tools/issues/89[89])


Reply via email to