svn commit: r51229 - /dev/logging/log4j/
Author: rgoers Date: Tue Dec 7 04:00:34 2021 New Revision: 51229 Log: LOG4J 2.15.0-rc1 Added: dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz (with props) dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz.asc dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz.sha512 dev/logging/log4j/apache-log4j-2.15.0-bin.zip (with props) dev/logging/log4j/apache-log4j-2.15.0-bin.zip.asc dev/logging/log4j/apache-log4j-2.15.0-bin.zip.sha512 dev/logging/log4j/apache-log4j-2.15.0-src.tar.gz (with props) dev/logging/log4j/apache-log4j-2.15.0-src.tar.gz.asc dev/logging/log4j/apache-log4j-2.15.0-src.tar.gz.sha512 dev/logging/log4j/apache-log4j-2.15.0-src.zip (with props) dev/logging/log4j/apache-log4j-2.15.0-src.zip.asc dev/logging/log4j/apache-log4j-2.15.0-src.zip.sha512 Removed: dev/logging/log4j/apache-log4j-2.14.1-bin.tar.gz dev/logging/log4j/apache-log4j-2.14.1-bin.tar.gz.asc dev/logging/log4j/apache-log4j-2.14.1-bin.tar.gz.sha512 dev/logging/log4j/apache-log4j-2.14.1-bin.zip dev/logging/log4j/apache-log4j-2.14.1-bin.zip.asc dev/logging/log4j/apache-log4j-2.14.1-bin.zip.sha512 dev/logging/log4j/apache-log4j-2.14.1-rc1.zip.sha512 dev/logging/log4j/apache-log4j-2.14.1-src.tar.gz dev/logging/log4j/apache-log4j-2.14.1-src.tar.gz.asc dev/logging/log4j/apache-log4j-2.14.1-src.tar.gz.sha512 dev/logging/log4j/apache-log4j-2.14.1-src.zip dev/logging/log4j/apache-log4j-2.14.1-src.zip.asc dev/logging/log4j/apache-log4j-2.14.1-src.zip.sha512 Added: dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz == Binary file - no diff available. Propchange: dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz -- svn:mime-type = application/octet-stream Added: dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz.asc == --- dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz.asc (added) +++ dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz.asc Tue Dec 7 04:00:34 2021 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEU8k1ghqmp1W9M321NZU5XrPY4boFAmGulaIACgkQNZU5XrPY +4bqbAxAAvbwnn5L8mPhBum6/zPbcL+UePbe0OC6Nsy6vjcMDT1jTsC7cazu6E4TA +PZV6L3hIzFjE0Ia7WcN53bKwARvx9BdCg5DBJRso0DQn/Y13A4JZo7WlmGj1kbMR +puzfsAEt2Wem/NjoQpWoHxqv1mjne1WmE+dM/h0TpY/uMxaTsr3h8o4IGugEMj83 +LCum6HHapCVPaEfTLP4K1VWnF0jVPeOXLmqxTa7RqaxVluHp3LawdXq5OCsHfK4O +/8GUb+TJ5xx+tRmId3Wsl4wZmz12kfWGa8J8Qi+9RujrADrYPSKoYgYQz/Fp9oiM +11g0b9b09pX0lTu9iUeDolycHwVlR0oDsveuvixwxV4sLDieB3NIUiDEHnFe+O02 +seKE654ZKACcf6UeYY9EHjTdSM5VIWIYfVktZk/zqlQ10CLjGtKcgZmZIyeC2yp7 +3hcw2uAOYTwUDyT54ahFXoJ5RrdxYSudBqlhgMyw8b+pLA1maOZZ4X/+VpPEyA/x +DqTbfX36T4i5DU9Fv673kTEQvm5d/V3fLQI8LhOG2Y03B1tQhJEFw1ZLEhbHOtii +CEUikZNTSQh1qe7p2/CAlFxW9+l64t333Zrr3WgEhpCYQD/Y/liaQ0F2b874z+fg +WVVTpZZMbADqo8nqjByF93IZ9zPt8PzaYhiSg1UuB8XjsR1FbPM= +=SuKn +-END PGP SIGNATURE- Added: dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz.sha512 == --- dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz.sha512 (added) +++ dev/logging/log4j/apache-log4j-2.15.0-bin.tar.gz.sha512 Tue Dec 7 04:00:34 2021 @@ -0,0 +1,4 @@ +apache-log4j-2.15.0-bin.tar.gz: 1B5092F9 8FF703AE 780FAF9A 454F2440 F631CA61 +5B0EEF83 C8367FDE 7CD2C46C FCFFB21E B2C9DD95 +7DFB4F20 0C941188 81EB18BF 9622E9BB 53869D58 +758F1477 Added: dev/logging/log4j/apache-log4j-2.15.0-bin.zip == Binary file - no diff available. Propchange: dev/logging/log4j/apache-log4j-2.15.0-bin.zip -- svn:mime-type = application/octet-stream Added: dev/logging/log4j/apache-log4j-2.15.0-bin.zip.asc == --- dev/logging/log4j/apache-log4j-2.15.0-bin.zip.asc (added) +++ dev/logging/log4j/apache-log4j-2.15.0-bin.zip.asc Tue Dec 7 04:00:34 2021 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEU8k1ghqmp1W9M321NZU5XrPY4boFAmGulaMACgkQNZU5XrPY +4bqXRg/+I1iJpzW8MK04QUG6ePfJWsf2F4HvA6ayYaFsMd288a3PDvjGGxhh7yk+ +qsLGTLlIPbM+S+r+qZYTGSH2IpPw4436a0iizy3GplIjn9vgPZ2RAW/Ffn8LN9N4 +8H0+a2O4p2/uTDt1ePAdZu7GAjL6Zm2dL9s7mBY1++BS3EZwb4ZGvxqp1u4l5M22 +lAT3G9rGH7NolFJeJPq3QXGUBxYoQx5Qymto8SCI+fxA6dv6qwWB97jQ/89gW3I2 ++89/IiyrTmnCoPCl2Vx684JRqaqCcAnFua4m9Oufvclbc7LcHps9YBPTwOcdLGF8 +r1irD+JtU1343gtC380GmJg6fcWZ9aLIFdP9iGrNhOBpHvHJ3jFxETOLbh6OYHDo +enx/qsqBl02hN/7mfThiL9w2bqACcg9P0hP3LjbY5a9zITUajma6tW/ysK3JWJ+j +oFsjafbvSMWe0x8pedGggPbEMEk8/8pklwhOTTJDQDwHR5S17sooykQpPHjl8K51 +jYptvKate1otvhD3vfokZ+LBz9cbXlmJu/haLCezd+19nenIJwuPLTrVhprFE8sF +Q76fN93xHO4sWsWT
[logging-log4j2] branch release-2.x updated: [maven-release-plugin] prepare for next development iteration
This is an automated email from the ASF dual-hosted git repository. rgoers pushed a commit to branch release-2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git The following commit(s) were added to refs/heads/release-2.x by this push: new b7cdabb [maven-release-plugin] prepare for next development iteration b7cdabb is described below commit b7cdabb49cf054a8cfe35d1bfefcdcc42dcd3078 Author: Ralph Goers AuthorDate: Mon Dec 6 16:13:26 2021 -0700 [maven-release-plugin] prepare for next development iteration --- log4j-1.2-api/pom.xml | 2 +- log4j-api-java9/pom.xml | 2 +- log4j-api/pom.xml | 2 +- log4j-appserver/pom.xml | 2 +- log4j-bom/pom.xml | 6 +- log4j-cassandra/pom.xml | 2 +- log4j-core-its/pom.xml | 2 +- log4j-core-java9/pom.xml| 2 +- log4j-core/pom.xml | 2 +- log4j-couchdb/pom.xml | 2 +- log4j-distribution/pom.xml | 2 +- log4j-docker/pom.xml| 2 +- log4j-flume-ng/pom.xml | 2 +- log4j-iostreams/pom.xml | 2 +- log4j-jakarta-web/pom.xml | 2 +- log4j-jcl/pom.xml | 2 +- log4j-jdbc-dbcp2/pom.xml| 2 +- log4j-jmx-gui/pom.xml | 2 +- log4j-jpa/pom.xml | 2 +- log4j-jpl/pom.xml | 2 +- log4j-jul/pom.xml | 2 +- log4j-kubernetes/pom.xml| 2 +- log4j-layout-template-json/pom.xml | 2 +- log4j-liquibase/pom.xml | 2 +- log4j-mongodb3/pom.xml | 2 +- log4j-mongodb4/pom.xml | 2 +- log4j-osgi/pom.xml | 2 +- log4j-perf/pom.xml | 2 +- log4j-samples/log4j-samples-configuration/pom.xml | 2 +- log4j-samples/log4j-samples-flume-common/pom.xml| 2 +- log4j-samples/log4j-samples-flume-embedded/pom.xml | 2 +- log4j-samples/log4j-samples-flume-remote/pom.xml| 2 +- log4j-samples/log4j-samples-loggerProperties/pom.xml| 2 +- log4j-samples/pom.xml | 2 +- log4j-slf4j-impl/pom.xml| 2 +- log4j-slf4j18-impl/pom.xml | 2 +- log4j-spring-boot/pom.xml | 2 +- log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml | 2 +- .../log4j-spring-cloud-config-sample-application/pom.xml| 2 +- .../log4j-spring-cloud-config-sample-server/pom.xml | 6 +- log4j-spring-cloud-config/log4j-spring-cloud-config-samples/pom.xml | 2 +- log4j-spring-cloud-config/pom.xml | 2 +- log4j-taglib/pom.xml| 2 +- log4j-to-slf4j/pom.xml | 2 +- log4j-web/pom.xml | 2 +- pom.xml | 4 ++-- 46 files changed, 47 insertions(+), 55 deletions(-) diff --git a/log4j-1.2-api/pom.xml b/log4j-1.2-api/pom.xml index b5a92e8..72f2450 100644 --- a/log4j-1.2-api/pom.xml +++ b/log4j-1.2-api/pom.xml @@ -20,7 +20,7 @@ org.apache.logging.log4j log4j -2.15.0 +2.15.1-SNAPSHOT ../ log4j-1.2-api diff --git a/log4j-api-java9/pom.xml b/log4j-api-java9/pom.xml index 296961c..78b14f3 100644 --- a/log4j-api-java9/pom.xml +++ b/log4j-api-java9/pom.xml @@ -20,7 +20,7 @@ org.apache.logging.log4j log4j -2.15.0 +2.15.1-SNAPSHOT ../ log4j-api-java9 diff --git a/log4j-api/pom.xml b/log4j-api/pom.xml index b9dc0ad..b237536 100644 --- a/log4j-api/pom.xml +++ b/log4j-api/pom.xml @@ -20,7 +20,7 @@ org.apache.logging.log4j log4j -2.15.0 +2.15.1-SNAPSHOT ../ log4j-api diff --git a/log4j-appserver/pom.xml b/log4j-appserver/pom.xml index 5c5cdc9..375903d
[logging-log4j2] annotated tag log4j-2.15.0-rc1 created (now a685a0e)
This is an automated email from the ASF dual-hosted git repository. rgoers pushed a change to annotated tag log4j-2.15.0-rc1 in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git. at a685a0e (tag) tagging da9694fd67d01561c4ed7288a755b1a7ceb360c0 (commit) replaces rel/2.14.1 by Ralph Goers on Mon Dec 6 16:13:21 2021 -0700 - Log - [maven-release-plugin] copy for tag log4j-2.15.0-rc1 --- No new revisions were added by this update.
[logging-log4j2] branch release-2.x updated: [maven-release-plugin] prepare release log4j-2.15.0-rc1
This is an automated email from the ASF dual-hosted git repository. rgoers pushed a commit to branch release-2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git The following commit(s) were added to refs/heads/release-2.x by this push: new da9694f [maven-release-plugin] prepare release log4j-2.15.0-rc1 da9694f is described below commit da9694fd67d01561c4ed7288a755b1a7ceb360c0 Author: Ralph Goers AuthorDate: Mon Dec 6 15:58:46 2021 -0700 [maven-release-plugin] prepare release log4j-2.15.0-rc1 --- log4j-1.2-api/pom.xml | 2 +- log4j-api-java9/pom.xml | 2 +- log4j-api/pom.xml | 2 +- log4j-appserver/pom.xml | 2 +- log4j-bom/pom.xml | 6 +- log4j-cassandra/pom.xml | 2 +- log4j-core-its/pom.xml | 2 +- log4j-core-java9/pom.xml| 2 +- log4j-core/pom.xml | 2 +- log4j-couchdb/pom.xml | 2 +- log4j-distribution/pom.xml | 2 +- log4j-docker/pom.xml| 2 +- log4j-flume-ng/pom.xml | 2 +- log4j-iostreams/pom.xml | 2 +- log4j-jakarta-web/pom.xml | 2 +- log4j-jcl/pom.xml | 2 +- log4j-jdbc-dbcp2/pom.xml| 2 +- log4j-jmx-gui/pom.xml | 2 +- log4j-jpa/pom.xml | 2 +- log4j-jpl/pom.xml | 2 +- log4j-jul/pom.xml | 2 +- log4j-kubernetes/pom.xml| 2 +- log4j-layout-template-json/pom.xml | 2 +- log4j-liquibase/pom.xml | 2 +- log4j-mongodb3/pom.xml | 2 +- log4j-mongodb4/pom.xml | 2 +- log4j-osgi/pom.xml | 2 +- log4j-perf/pom.xml | 4 ++-- log4j-samples/log4j-samples-configuration/pom.xml | 2 +- log4j-samples/log4j-samples-flume-common/pom.xml| 2 +- log4j-samples/log4j-samples-flume-embedded/pom.xml | 2 +- log4j-samples/log4j-samples-flume-remote/pom.xml| 2 +- log4j-samples/log4j-samples-loggerProperties/pom.xml| 2 +- log4j-samples/pom.xml | 2 +- log4j-slf4j-impl/pom.xml| 2 +- log4j-slf4j18-impl/pom.xml | 2 +- log4j-spring-boot/pom.xml | 2 +- log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml | 2 +- .../log4j-spring-cloud-config-sample-application/pom.xml| 2 +- .../log4j-spring-cloud-config-sample-server/pom.xml | 6 +- log4j-spring-cloud-config/log4j-spring-cloud-config-samples/pom.xml | 2 +- log4j-spring-cloud-config/pom.xml | 2 +- log4j-taglib/pom.xml| 2 +- log4j-to-slf4j/pom.xml | 2 +- log4j-web/pom.xml | 2 +- pom.xml | 4 ++-- 46 files changed, 56 insertions(+), 48 deletions(-) diff --git a/log4j-1.2-api/pom.xml b/log4j-1.2-api/pom.xml index a5aa4c3..b5a92e8 100644 --- a/log4j-1.2-api/pom.xml +++ b/log4j-1.2-api/pom.xml @@ -20,7 +20,7 @@ org.apache.logging.log4j log4j -2.15.0-SNAPSHOT +2.15.0 ../ log4j-1.2-api diff --git a/log4j-api-java9/pom.xml b/log4j-api-java9/pom.xml index 4ac26e2..296961c 100644 --- a/log4j-api-java9/pom.xml +++ b/log4j-api-java9/pom.xml @@ -20,7 +20,7 @@ org.apache.logging.log4j log4j -2.15.0-SNAPSHOT +2.15.0 ../ log4j-api-java9 diff --git a/log4j-api/pom.xml b/log4j-api/pom.xml index 9711b42..b9dc0ad 100644 --- a/log4j-api/pom.xml +++ b/log4j-api/pom.xml @@ -20,7 +20,7 @@ org.apache.logging.log4j log4j -2.15.0-SNAPSHOT +2.15.0 ../ log4j-api diff --git a/log4j-appserver/pom.xml b/log4j-appserver/pom.xml index 3610dec..5c5cdc9 100644 ---
[logging-log4j2] branch master updated: Add missing license headers
This is an automated email from the ASF dual-hosted git repository. rgoers pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git The following commit(s) were added to refs/heads/master by this push: new e4de585 Add missing license headers e4de585 is described below commit e4de58500f7a1185852182cbef39d73d7519a2d5 Author: Ralph Goers AuthorDate: Mon Dec 6 15:50:50 2021 -0700 Add missing license headers --- .../RollingFileAppenderInterruptedThreadTest.java| 16 .../log4j/perf/jmh/NamePatternConverterBenchmark.java| 16 2 files changed, 32 insertions(+) diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingFileAppenderInterruptedThreadTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingFileAppenderInterruptedThreadTest.java index 76c6e17..7a7afde 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingFileAppenderInterruptedThreadTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingFileAppenderInterruptedThreadTest.java @@ -1,3 +1,19 @@ +/* + * 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. + */ package org.apache.logging.log4j.core.appender.rolling; import org.apache.logging.log4j.Level; diff --git a/log4j-perf/src/main/java/org/apache/logging/log4j/perf/jmh/NamePatternConverterBenchmark.java b/log4j-perf/src/main/java/org/apache/logging/log4j/perf/jmh/NamePatternConverterBenchmark.java index 36b8a77..1656c68 100644 --- a/log4j-perf/src/main/java/org/apache/logging/log4j/perf/jmh/NamePatternConverterBenchmark.java +++ b/log4j-perf/src/main/java/org/apache/logging/log4j/perf/jmh/NamePatternConverterBenchmark.java @@ -1,3 +1,19 @@ +/* + * 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. + */ package org.apache.logging.log4j.perf.jmh; import org.apache.logging.log4j.core.AbstractLogEvent;
[logging-log4j2] branch release-2.x updated: Add missing license headers. Prepare for release
This is an automated email from the ASF dual-hosted git repository. rgoers pushed a commit to branch release-2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git The following commit(s) were added to refs/heads/release-2.x by this push: new d155f49 Add missing license headers. Prepare for release d155f49 is described below commit d155f49bdf97702501beaa483f23696a66468c08 Author: Ralph Goers AuthorDate: Mon Dec 6 15:48:45 2021 -0700 Add missing license headers. Prepare for release --- RELEASE-NOTES.md | 367 - .../RollingFileAppenderInterruptedThreadTest.java | 16 + .../perf/jmh/NamePatternConverterBenchmark.java| 16 + pom.xml| 3 + src/changes/announcement.vm| 22 +- src/changes/changes.xml| 10 +- 6 files changed, 272 insertions(+), 162 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index c984a28..7b48f82 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -14,9 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. --> -# Apache Log4j 2.14.1 Release Notes +# Apache Log4j 2.15.0 Release Notes -The Apache Log4j 2 team is pleased to announce the Log4j 2.14.1 release! +The Apache Log4j 2 team is pleased to announce the Log4j 2.15.0 release! Apache Log4j is a well known framework for logging application behavior. Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides @@ -31,173 +31,228 @@ This release contains a number of bug fixes and minor enhancements which are lis 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. +later. SLF4J-2.0.0 alpha releases are not fully supported. See https://issues.apache.org/jira/browse/LOG4J2-2975 and +https://jira.qos.ch/browse/SLF4J-511. -The Log4j 2.14.1 API, as well as many core components, maintains binary compatibility with previous releases. +Some of the new features in Log4j 2.15.0 include: -## GA Release 2.14.1 +* Support for Arbiters, which are conditionals that can enable sections of the logging configuration +for inclusion or exclusion. In particular, SpringProfile, SystemProperty, Script, and Class Arbiters have been +provided that use the Spring profile, System property, the result of a script, or the presence of a class respectively +to determine whether a section of configuration should be included. +* Support for Jakarta EE 9. This is functionally equivalent to Log4j's log4j-web module but uses the Jakarta project. +* Various performance improvements. + +Key changes to note: + +* Prior to this release Log4j would automatically resolve Lookups contained in the message or its parameters in the +Pattern Layout. Thisbehavior is no longer the default and must be enabled by specifying %msg{lookup}. +* The JNDI Lookup has been restricted to only support the java, ldap, and ldaps protocols by default. LDAP also no +longer supports classes that implement the Referenceable interface and restricts the Serializable classes to the +Java primative classes by default and requires an allow list to be specified to access remote LDAP servers. + +The Log4j 2.15.0 API, as well as many core components, maintains binary compatibility with previous releases. + +## GA Release 2.15.0 Changes in this version include: ### New Features -* [LOG4J2-2962](https://issues.apache.org/jira/browse/LOG4J2-2962): -Enrich "map" resolver by unifying its backend with "mdc" resolver. -* [LOG4J2-2999](https://issues.apache.org/jira/browse/LOG4J2-2999): -Replace JsonTemplateLayout resolver configurations table in docs with sections. -* [LOG4J2-2993](https://issues.apache.org/jira/browse/LOG4J2-2993): -Support stack trace truncation in JsonTemplateLayout. +* [LOG4J2-3198](https://issues.apache.org/jira/browse/LOG4J2-3198): +Pattern layout no longer enables lookups within message text by default for cleaner API boundaries and reduced +formatting overhead. The old 'log4j2.formatMsgNoLookups' which enabled this behavior has been removed as well +as the 'nolookups' message pattern converter option. The old behavior can be enabled on a per-pattern basis +using '%m{lookups}'. +* [LOG4J2-3194](https://issues.apache.org/jira/browse/LOG4J2-3194): +Allow fractional attributes for size attribute of SizeBsaedTriggeringPolicy. Thanks to markuss. +* [LOG4J2-2978](https://issues.apache.org/jira/browse/LOG4J2-2978): +Add support for Jakarta EE 9 (Tomcat 10 / Jetty 11) Thanks to Michael Seele. +* [LOG4J2-3189](https://issues.a
[logging-log4j2] branch master updated (22a96e3 -> 8ba0555)
This is an automated email from the ASF dual-hosted git repository. rgoers pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git. from 22a96e3 LOG4J2-3166 - Fix log event Level vs LoggerConfig Level table. add 8ba0555 Various cleanups No new revisions were added by this update. Summary of changes: .../log4j/jackson/json/layout/JsonLayout.java | 2 ++ log4j-spring-boot/pom.xml | 2 +- log4j-spring-boot/src/site/markdown/index.md | 31 ++ log4j-spring-boot/src/site/site.xml| 2 +- src/site/asciidoc/manual/configuration.adoc| 2 +- src/site/asciidoc/manual/layouts.adoc | 3 +++ src/site/site.xml | 1 + 7 files changed, 40 insertions(+), 3 deletions(-)
[logging-log4j2] branch release-2.x updated: Various cleanups in prep for a release
This is an automated email from the ASF dual-hosted git repository. rgoers pushed a commit to branch release-2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git The following commit(s) were added to refs/heads/release-2.x by this push: new 696bb99 Various cleanups in prep for a release 696bb99 is described below commit 696bb995a16c7827cd4e457aff4c3e49bca1cb6b Author: Ralph Goers AuthorDate: Mon Dec 6 10:32:27 2021 -0700 Various cleanups in prep for a release --- .../logging/log4j/core/layout/JsonLayout.java | 2 ++ log4j-spring-boot/pom.xml | 2 +- log4j-spring-boot/src/site/markdown/index.md | 31 ++ log4j-spring-boot/src/site/site.xml| 2 +- pom.xml| 2 +- src/site/markdown/index.md.vm | 16 ++- src/site/site.xml | 1 + src/site/xdoc/manual/configuration.xml.vm | 2 +- src/site/xdoc/manual/layouts.xml.vm| 5 9 files changed, 53 insertions(+), 10 deletions(-) diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/JsonLayout.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/JsonLayout.java index 6b3555d..6092412 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/JsonLayout.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/JsonLayout.java @@ -35,6 +35,8 @@ import org.apache.logging.log4j.core.config.plugins.PluginElement; import org.apache.logging.log4j.core.util.KeyValuePair; /** + * Note: The JsonLayout should be considered to be deprecated. Please use JsonTemplateLayout instead. + * * Appends a series of JSON events as strings serialized as bytes. * * Complete well-formed JSON vs. fragment JSON diff --git a/log4j-spring-boot/pom.xml b/log4j-spring-boot/pom.xml index aef5cf1..297547e 100644 --- a/log4j-spring-boot/pom.xml +++ b/log4j-spring-boot/pom.xml @@ -26,7 +26,7 @@ log4j-spring-boot jar Apache Log4j Spring Boot Support - Apache Log4j Spring iBoot Support + Apache Log4j Spring Boot Support ${basedir}/.. Log4j Spring Boot Documentation diff --git a/log4j-spring-boot/src/site/markdown/index.md b/log4j-spring-boot/src/site/markdown/index.md index 325455c..4cd1feb 100644 --- a/log4j-spring-boot/src/site/markdown/index.md +++ b/log4j-spring-boot/src/site/markdown/index.md @@ -49,6 +49,37 @@ to be specified in the Spring Configuration. However, some properties that are o during the first Log4j initialization, such as the property Log4j uses to allow the default Log4j implementation to be chosen, would not be available. +### Spring Profile Arbiter + +New with Log4j 2.15.0 are "Arbiters" which are conditionals that can cause a portion of the Log4j configuration to +be included or excluded. log4j-spring-boot provides an Arbiter that allows a Spring profile value to be used for +this purpose. Below is an example: +``` + + + + + + + + + + + + + + + + + + + + + + + +``` + ## Requirements The Log4j 2 Spring Cloud Configuration integration has a dependency on Log4j 2 API, Log4j 2 Core, and diff --git a/log4j-spring-boot/src/site/site.xml b/log4j-spring-boot/src/site/site.xml index 5abfffd..3f8f776 100644 --- a/log4j-spring-boot/src/site/site.xml +++ b/log4j-spring-boot/src/site/site.xml @@ -15,7 +15,7 @@ limitations under the License. --> -http://maven.apache.org/DECORATION/1.4.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/DECORATION/1.4.0 http://maven.apache.org/xsd/decoration-1.4.0.xsd";> diff --git a/pom.xml b/pom.xml index 9a55dda..0e7f26e 100644 --- a/pom.xml +++ b/pom.xml @@ -188,7 +188,7 @@ ${basedir} -2.14.1 +2.15.0 Ralph Goers B3D8E1BA diff --git a/src/site/markdown/index.md.vm b/src/site/markdown/index.md.vm index d00b1db..fb596f6 100644 --- a/src/site/markdown/index.md.vm +++ b/src/site/markdown/index.md.vm @@ -131,8 +131,9 @@ The Log4j 2 User's Guide is available on this [site](manual/index.html) or as a $h2 Requirements -Log4j 2.13.0 and greater require Java 8. Version 2.4 through 2.12.1 required Java 7. Some features require optional -dependencies; the documentation for these features will specify the required dependencies. +Log4j 2.13.0 and greater require Java 8. Version 2.4 through 2.12.1 required Java 7 (the Log4j team no longer supports +Java 7). Some features require optional dependencies; the documentation for these features will specify the required +dependencies. $h2 News @@ -144,10 +145,13 @@ Log4j $Log4jReleaseVersion is the latest release of Log4j. As of Log4j 2.13.0 Lo runtime. This release contains new features and fixes which can be found in the latest [changes report](chan
[logging-log4j2] branch dependabot/github_actions/actions/setup-java-2.4.0 created (now d41131c)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/github_actions/actions/setup-java-2.4.0 in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git. at d41131c Bump actions/setup-java from 2.3.1 to 2.4.0 No new revisions were added by this update.