This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch release/2.23.1 in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 07ab0ceac31acd9e3cdb9355e4b042070bee6a4f Author: Volkan Yazıcı <[email protected]> AuthorDate: Wed Mar 6 09:43:20 2024 +0100 Release changelog --- src/changelog/2.23.1/.release-notes.adoc.ftl | 25 ++++++++++++++++++ src/changelog/2.23.1/.release.xml | 21 +++++++++++++++ .../2309_fix_logger_context_aware_lookups.xml | 0 .../2346_unix_millis_data_pattern.xml | 0 ...ix_ParameterFormatter_for_insufficient_args.xml | 0 .../fix_StatusLogger_debug_mode.xml | 0 .../fix_StatusLogger_instant_formatting.xml | 0 .../fix_StatusLogger_properties_read.xml | 0 .../fix_StatusLogger_stack_overflow.xml | 0 .../improve_CloseableThreadContext_closeMap.xml | 0 ...e_jakarta_activation_jakarta_activation_api.xml | 0 .../update_jakarta_mail_jakarta_mail_api.xml | 0 .../update_org_apache_commons_commons_compress.xml | 0 .../update_org_apache_commons_commons_dbcp2.xml | 0 .../update_org_apache_kafka_kafka_clients.xml | 0 .../update_org_eclipse_angus_angus_activation.xml | 0 .../update_org_eclipse_angus_jakarta_mail.xml | 0 src/site/_constants.adoc | 2 +- src/site/_release-notes.adoc | 2 +- .../_release-notes/{_2.x.x.adoc => _2.23.1.adoc} | 25 ++++++++---------- src/site/_release-notes/_2.x.x.adoc | 30 ---------------------- 21 files changed, 59 insertions(+), 46 deletions(-) diff --git a/src/changelog/2.23.1/.release-notes.adoc.ftl b/src/changelog/2.23.1/.release-notes.adoc.ftl new file mode 100644 index 0000000000..c95aa7ad69 --- /dev/null +++ b/src/changelog/2.23.1/.release-notes.adoc.ftl @@ -0,0 +1,25 @@ +//// + 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-${release.version?replace("[^a-zA-Z0-9]", "-", "r")}] +== ${release.version} + +<#if release.date?has_content>Release date:: ${release.date}</#if> + +This releases contains ... + +<#include "../.changelog.adoc.ftl"> diff --git a/src/changelog/2.23.1/.release.xml b/src/changelog/2.23.1/.release.xml new file mode 100644 index 0000000000..505a05a13b --- /dev/null +++ b/src/changelog/2.23.1/.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.3.xsd" + date="2024-03-06" version="2.23.1"/> diff --git a/src/changelog/.2.x.x/2309_fix_logger_context_aware_lookups.xml b/src/changelog/2.23.1/2309_fix_logger_context_aware_lookups.xml similarity index 100% rename from src/changelog/.2.x.x/2309_fix_logger_context_aware_lookups.xml rename to src/changelog/2.23.1/2309_fix_logger_context_aware_lookups.xml diff --git a/src/changelog/.2.x.x/2346_unix_millis_data_pattern.xml b/src/changelog/2.23.1/2346_unix_millis_data_pattern.xml similarity index 100% rename from src/changelog/.2.x.x/2346_unix_millis_data_pattern.xml rename to src/changelog/2.23.1/2346_unix_millis_data_pattern.xml diff --git a/src/changelog/.2.x.x/fix_ParameterFormatter_for_insufficient_args.xml b/src/changelog/2.23.1/fix_ParameterFormatter_for_insufficient_args.xml similarity index 100% rename from src/changelog/.2.x.x/fix_ParameterFormatter_for_insufficient_args.xml rename to src/changelog/2.23.1/fix_ParameterFormatter_for_insufficient_args.xml diff --git a/src/changelog/.2.x.x/fix_StatusLogger_debug_mode.xml b/src/changelog/2.23.1/fix_StatusLogger_debug_mode.xml similarity index 100% rename from src/changelog/.2.x.x/fix_StatusLogger_debug_mode.xml rename to src/changelog/2.23.1/fix_StatusLogger_debug_mode.xml diff --git a/src/changelog/.2.x.x/fix_StatusLogger_instant_formatting.xml b/src/changelog/2.23.1/fix_StatusLogger_instant_formatting.xml similarity index 100% rename from src/changelog/.2.x.x/fix_StatusLogger_instant_formatting.xml rename to src/changelog/2.23.1/fix_StatusLogger_instant_formatting.xml diff --git a/src/changelog/.2.x.x/fix_StatusLogger_properties_read.xml b/src/changelog/2.23.1/fix_StatusLogger_properties_read.xml similarity index 100% rename from src/changelog/.2.x.x/fix_StatusLogger_properties_read.xml rename to src/changelog/2.23.1/fix_StatusLogger_properties_read.xml diff --git a/src/changelog/.2.x.x/fix_StatusLogger_stack_overflow.xml b/src/changelog/2.23.1/fix_StatusLogger_stack_overflow.xml similarity index 100% rename from src/changelog/.2.x.x/fix_StatusLogger_stack_overflow.xml rename to src/changelog/2.23.1/fix_StatusLogger_stack_overflow.xml diff --git a/src/changelog/.2.x.x/improve_CloseableThreadContext_closeMap.xml b/src/changelog/2.23.1/improve_CloseableThreadContext_closeMap.xml similarity index 100% rename from src/changelog/.2.x.x/improve_CloseableThreadContext_closeMap.xml rename to src/changelog/2.23.1/improve_CloseableThreadContext_closeMap.xml diff --git a/src/changelog/.2.x.x/update_jakarta_activation_jakarta_activation_api.xml b/src/changelog/2.23.1/update_jakarta_activation_jakarta_activation_api.xml similarity index 100% rename from src/changelog/.2.x.x/update_jakarta_activation_jakarta_activation_api.xml rename to src/changelog/2.23.1/update_jakarta_activation_jakarta_activation_api.xml diff --git a/src/changelog/.2.x.x/update_jakarta_mail_jakarta_mail_api.xml b/src/changelog/2.23.1/update_jakarta_mail_jakarta_mail_api.xml similarity index 100% rename from src/changelog/.2.x.x/update_jakarta_mail_jakarta_mail_api.xml rename to src/changelog/2.23.1/update_jakarta_mail_jakarta_mail_api.xml diff --git a/src/changelog/.2.x.x/update_org_apache_commons_commons_compress.xml b/src/changelog/2.23.1/update_org_apache_commons_commons_compress.xml similarity index 100% rename from src/changelog/.2.x.x/update_org_apache_commons_commons_compress.xml rename to src/changelog/2.23.1/update_org_apache_commons_commons_compress.xml diff --git a/src/changelog/.2.x.x/update_org_apache_commons_commons_dbcp2.xml b/src/changelog/2.23.1/update_org_apache_commons_commons_dbcp2.xml similarity index 100% rename from src/changelog/.2.x.x/update_org_apache_commons_commons_dbcp2.xml rename to src/changelog/2.23.1/update_org_apache_commons_commons_dbcp2.xml diff --git a/src/changelog/.2.x.x/update_org_apache_kafka_kafka_clients.xml b/src/changelog/2.23.1/update_org_apache_kafka_kafka_clients.xml similarity index 100% rename from src/changelog/.2.x.x/update_org_apache_kafka_kafka_clients.xml rename to src/changelog/2.23.1/update_org_apache_kafka_kafka_clients.xml diff --git a/src/changelog/.2.x.x/update_org_eclipse_angus_angus_activation.xml b/src/changelog/2.23.1/update_org_eclipse_angus_angus_activation.xml similarity index 100% rename from src/changelog/.2.x.x/update_org_eclipse_angus_angus_activation.xml rename to src/changelog/2.23.1/update_org_eclipse_angus_angus_activation.xml diff --git a/src/changelog/.2.x.x/update_org_eclipse_angus_jakarta_mail.xml b/src/changelog/2.23.1/update_org_eclipse_angus_jakarta_mail.xml similarity index 100% rename from src/changelog/.2.x.x/update_org_eclipse_angus_jakarta_mail.xml rename to src/changelog/2.23.1/update_org_eclipse_angus_jakarta_mail.xml diff --git a/src/site/_constants.adoc b/src/site/_constants.adoc index ebb3779dd6..4b2afe6255 100644 --- a/src/site/_constants.adoc +++ b/src/site/_constants.adoc @@ -34,7 +34,7 @@ //// :project-github-url: https://github.com/apache/logging-log4j2 -:project-version: 2.23.1-SNAPSHOT +:project-version: 2.23.1 :project-name: Log4j :project-id: log4j :java-target-version: 8 diff --git a/src/site/_release-notes.adoc b/src/site/_release-notes.adoc index 3e30d0070c..4a05a84a45 100644 --- a/src/site/_release-notes.adoc +++ b/src/site/_release-notes.adoc @@ -36,7 +36,7 @@ [#release-notes] = Release Notes -include::_release-notes/_2.x.x.adoc[] +include::_release-notes/_2.23.1.adoc[] include::_release-notes/_2.23.0.adoc[] include::_release-notes/_2.22.1.adoc[] include::_release-notes/_2.22.0.adoc[] diff --git a/src/site/_release-notes/_2.x.x.adoc b/src/site/_release-notes/_2.23.1.adoc similarity index 64% copy from src/site/_release-notes/_2.x.x.adoc copy to src/site/_release-notes/_2.23.1.adoc index 7511038b76..2edb213665 100644 --- a/src/site/_release-notes/_2.x.x.adoc +++ b/src/site/_release-notes/_2.23.1.adoc @@ -15,40 +15,37 @@ limitations under the License. //// -[#release-notes-2-x-x] -== 2.x.x - +[#release-notes-2-23-1] +== 2.23.1 +Release date:: 2024-03-06 This releases contains ... -[#release-notes-2-x-x-changed] +[#release-notes-2-23-1-changed] === Changed -* Fix handling of `LoggerContextAware` lookups. (https://github.com/apache/logging-log4j2/pull/2309[2309]) +* Fix handling of `LoggerContextAware` lookups (https://github.com/apache/logging-log4j2/pull/2309[2309]) +* Fix NPE in `PatternProcessor` for a `UNIX_MILLIS` pattern (https://github.com/apache/logging-log4j2/pull/2346[2346]) * Improve performance of `CloseableThreadContext#closeMap()` (https://github.com/apache/logging-log4j2/pull/2296[2296]) -[#release-notes-2-x-x-fixed] +[#release-notes-2-23-1-fixed] === Fixed +* Fix that parameterized message formatting doesn't throw an exception when there are insufficient number of parameters (https://github.com/apache/logging-log4j2/pull/2343[2343]) * Fix `StatusLogger` log level filtering when debug mode is enabled (https://github.com/apache/logging-log4j2/issues/2337[2337]) -* Add `log4j2.StatusLogger.DateFormatZone` system property to set the time-zone `StatusLogger` uses to format `java.time.Instant`. Without this formatting patterns accessing to time-zone-specific fields (e.g., year-of-era) cause failures. (https://github.com/apache/logging-log4j2/pull/2322[2322]) +* Add `log4j2.StatusLogger.dateFormatZone` system property to set the time-zone `StatusLogger` uses to format `java.time.Instant`. Without this, formatting patterns accessing to time-zone-specific fields (e.g., year-of-era) cause failures. (https://github.com/apache/logging-log4j2/pull/2322[2322]) +* Fix `StatusLogger` to correctly read `log4j2.StatusLogger.properties` resource (https://github.com/apache/logging-log4j2/pull/2354[2354]) * Fix stack overflow in `StatusLogger` (https://github.com/apache/logging-log4j2/pull/2322[2322]) -[#release-notes-2-x-x-updated] +[#release-notes-2-23-1-updated] === Updated -* Update `co.elastic.clients:elasticsearch-java` to version `8.12.2` (https://github.com/apache/logging-log4j2/pull/2315[2315]) -* Update `co.elastic.logging:log4j2-ecs-layout` to version `1.6.0` (https://github.com/apache/logging-log4j2/pull/2301[2301]) -* Update `com.github.tomakehurst:wiremock-jre8` to version `2.35.2` (https://github.com/apache/logging-log4j2/pull/2306[2306]) -* Update `github/codeql-action` to version `3.24.6` (https://github.com/apache/logging-log4j2/pull/2332[2332]) -* Update `io.fabric8:docker-maven-plugin` to version `0.44.0` (https://github.com/apache/logging-log4j2/pull/2299[2299]) * Update `jakarta.activation:jakarta.activation-api` to version `2.1.3` (https://github.com/apache/logging-log4j2/pull/2335[2335]) * Update `jakarta.mail:jakarta.mail-api` to version `2.1.3` (https://github.com/apache/logging-log4j2/pull/2348[2348]) * Update `org.apache.commons:commons-compress` to version `1.26.0` (https://github.com/apache/logging-log4j2/pull/2304[2304]) * Update `org.apache.commons:commons-dbcp2` to version `2.12.0` (https://github.com/apache/logging-log4j2/pull/2344[2344]) * Update `org.apache.kafka:kafka-clients` to version `3.7.0` (https://github.com/apache/logging-log4j2/pull/2326[2326]) -* Update `org.codehaus.groovy:groovy-bom` to version `3.0.21` (https://github.com/apache/logging-log4j2/pull/2345[2345]) * Update `org.eclipse.angus:angus-activation` to version `2.0.2` (https://github.com/apache/logging-log4j2/pull/2336[2336]) * Update `org.eclipse.angus:jakarta.mail` to version `2.0.3` (https://github.com/apache/logging-log4j2/pull/2349[2349]) diff --git a/src/site/_release-notes/_2.x.x.adoc b/src/site/_release-notes/_2.x.x.adoc index 7511038b76..59651dcc33 100644 --- a/src/site/_release-notes/_2.x.x.adoc +++ b/src/site/_release-notes/_2.x.x.adoc @@ -22,33 +22,3 @@ This releases contains ... - -[#release-notes-2-x-x-changed] -=== Changed - -* Fix handling of `LoggerContextAware` lookups. (https://github.com/apache/logging-log4j2/pull/2309[2309]) -* Improve performance of `CloseableThreadContext#closeMap()` (https://github.com/apache/logging-log4j2/pull/2296[2296]) - -[#release-notes-2-x-x-fixed] -=== Fixed - -* Fix `StatusLogger` log level filtering when debug mode is enabled (https://github.com/apache/logging-log4j2/issues/2337[2337]) -* Add `log4j2.StatusLogger.DateFormatZone` system property to set the time-zone `StatusLogger` uses to format `java.time.Instant`. Without this formatting patterns accessing to time-zone-specific fields (e.g., year-of-era) cause failures. (https://github.com/apache/logging-log4j2/pull/2322[2322]) -* Fix stack overflow in `StatusLogger` (https://github.com/apache/logging-log4j2/pull/2322[2322]) - -[#release-notes-2-x-x-updated] -=== Updated - -* Update `co.elastic.clients:elasticsearch-java` to version `8.12.2` (https://github.com/apache/logging-log4j2/pull/2315[2315]) -* Update `co.elastic.logging:log4j2-ecs-layout` to version `1.6.0` (https://github.com/apache/logging-log4j2/pull/2301[2301]) -* Update `com.github.tomakehurst:wiremock-jre8` to version `2.35.2` (https://github.com/apache/logging-log4j2/pull/2306[2306]) -* Update `github/codeql-action` to version `3.24.6` (https://github.com/apache/logging-log4j2/pull/2332[2332]) -* Update `io.fabric8:docker-maven-plugin` to version `0.44.0` (https://github.com/apache/logging-log4j2/pull/2299[2299]) -* Update `jakarta.activation:jakarta.activation-api` to version `2.1.3` (https://github.com/apache/logging-log4j2/pull/2335[2335]) -* Update `jakarta.mail:jakarta.mail-api` to version `2.1.3` (https://github.com/apache/logging-log4j2/pull/2348[2348]) -* Update `org.apache.commons:commons-compress` to version `1.26.0` (https://github.com/apache/logging-log4j2/pull/2304[2304]) -* Update `org.apache.commons:commons-dbcp2` to version `2.12.0` (https://github.com/apache/logging-log4j2/pull/2344[2344]) -* Update `org.apache.kafka:kafka-clients` to version `3.7.0` (https://github.com/apache/logging-log4j2/pull/2326[2326]) -* Update `org.codehaus.groovy:groovy-bom` to version `3.0.21` (https://github.com/apache/logging-log4j2/pull/2345[2345]) -* Update `org.eclipse.angus:angus-activation` to version `2.0.2` (https://github.com/apache/logging-log4j2/pull/2336[2336]) -* Update `org.eclipse.angus:jakarta.mail` to version `2.0.3` (https://github.com/apache/logging-log4j2/pull/2349[2349])
