+1
* Maven artifacts works in my test project.
* Build of tags/log4j-2.10-rc1 works.
On 2017-11-19 19:11, Ralph Goers wrote:
This is a vote to release Log4j 2.10.0, the next version of the Log4j 2 project.
Please download, test, and cast your votes on the log4j developers list.
[] +1, release the artifacts
[] -1, don't release because...
The vote will remain open for 72 hours (or more if required). All votes are
welcome and we encourage everyone to test the release, but only Logging PMC
votes are “officially” counted. As always, at least 3 +1 votes and more
positive than negative votes are required.
Note that this release supports SLF4J 1.7.x and SLF4J 1.8.x. Because SLF4J
1.7.x requires implementations to include classes in the org.slf4j.impl package
log4j-sl4j-impl cannot be used as a Java 9 module. Support for SLF4J 1.7.x will
be removed in a future release.
Changes in this version include:
New Features
• LOG4J2-2120: Properly escape newlines and other control characters in
JSON. Thanks to Carter Douglas Kozak.
• LOG4J2-2109: Add property to disable message pattern converter
lookups. Thanks to Carter Douglas Kozak.
• LOG4J2-2112: MapMessage should use deep toString for values. Thanks
to Carter Douglas Kozak.
• LOG4J2-2103: XML encoding for PatternLayout.
• LOG4J2-2114: Provide a native Log4j 2 implementation of Eclipse
Jetty's org.eclipse.jetty.util.log.Logger.
• LOG4J2-1203: Allow filtering of line breaks in layout pattern. Thanks
to Robert Turner.
• LOG4J2-2098: Add a noop AppenderSkeleton for applications still using
Log4j 1.x.
• LOG4J2-2062: Add possibility of sending the key of a message to Kafka
using KafkaAppender. Thanks to Jorge Sanchez.
• LOG4J2-2056: Modularize Log4j-api and make most other log4j jars
automatic modules.
• LOG4J2-1431: Simplify log4j system property naming scheme.
• LOG4J2-1809: Add global configuration environment SPI.
• LOG4J2-1694: Add fields with fixed values to JSON/XML/YAML layouts.
Thanks to Michal Dvořák.
• LOG4J2-2054: Provide ways to configure SSL that avoid plain-text
passwords in the log4j configuration. The configuration may now specify a
system environment variable that holds the password, or the path to a file that
holds the password.
• LOG4J2-2071: Add
org.apache.logging.log4j.core.config.composite.CompositeConfiguration#toString().
Thanks to Carter Kozak.
Fixed Bugs
• LOG4J2-2107: MapMessage supports both StringBuilderFormattable and
MultiformatMessage. Thanks to Carter Douglas Kozak.
• LOG4J2-2102: MapMessage JSON encoding will escape keys and values.
Thanks to Carter Douglas Kozak.
• LOG4J2-2101: Non-string value in MapMessage caused
ClassCastException. Thanks to Carter Douglas Kozak.
• LOG4J2-2091: Log4j respects the configured "log4j2.is.webapp"
property Thanks to Carter Douglas Kozak.
• LOG4J2-2100: LevelMixIn class for Jackson is coded incorrectly
• LOG4J2-2087: Jansi now needs to be enabled explicitly (by setting
system property log4j.skipJansi to false). To avoid causing problems for web
applications, Log4j will no longer automatically try to load Jansi without
explicit configuration. Thanks to Andy Gumbrecht.
• LOG4J2-2060: AbstractDatabaseManager should make a copy of LogEvents
before holding references to them: AsyncLogger log events are mutable.
• LOG4J2-2055: If Log4j is used as the Tomcat logging implementation
startup might fail if an application also uses Log4j.
• LOG4J2-2031: Until this change, messages appeared out of order in log
file any time when the async logging queue was full. With this change, messages
are only logged out of order to prevent deadlock when Log4j2 detects recursive
logging while the queue is full.
• LOG4J2-2053: Exception java.nio.charset.UnsupportedCharsetException:
cp65001 in 2.9.0.
• LOG4J2-1216: Nested pattern layout options broken. Thanks to Thies
Wellpott, Barna Zsombor Klara, GFriedrich.
• LOG4J2-2070: Log4j1XmlLayout does not provide the entire stack trace,
it is missing the caused by information. Thanks to Doug Hughes.
• LOG4J2-2036: CompositeConfiguration supports Reconfiguration. PR
#115. Thanks to Robert Haycock.
• LOG4J2-2073: Log4j-config.xsd should make AppenderRef optional for
each Logger element. Thanks to Patrick Lucas.
• LOG4J2-2074: The console appender should say why it cannot load JAnsi.
• LOG4J2-2085: Wrong Apache Commons CSV version referenced in the
Javadoc of CsvParameterLayout. Thanks to István Neuwirth.
Changes
• LOG4J2-2076: Split up log4j-nosql into one module per appender.
• LOG4J2-2088: Upgrade picocli to 2.0.3 from 0.9.8.
• LOG4J2-2025: Provide support for overriding the Tomcat Log class in
Tomcat 8.5+.
• LOG4J2-2057: Support new SLF4J binding mechanism introduced in SLF4J
1.8.
• LOG4J2-2052: Disable thread name caching by default when running on
Java 8u102 or later.
• LOG4J2-1896: Update classes in org.apache.logging.log4j.core.net.ssl
in APIs from String to a PasswordProvider producing char[] for passwords.
• LOG4J2-2078: Update LMAX disruptor from 3.3.6 to 3.3.7.
• LOG4J2-2081: Update Apache Commons Compress from 1.14 to 1.15.
• LOG4J2-2089: [TagLib] Update servlet-api provided dependency from 2.5
to 3.0.1.
• LOG4J2-2096: Update Apache Kafka kafka-clients from 0.11.0.1 to 1.0.0.
• LOG4J2-2077: Update from Jackson 2.9.1 to 2.9.2.
• LOG4J2-2117: Jackson dependencies for 2.9.2 incorrectly bring in
jackson-annotations 2.9.0 instead of 2.9.2.
Tag:
a) for a new copy do "git clone https://git-wip-us.apache.org/repos/asf/logging-log4j2.git
<https://git-wip-us.apache.org/repos/asf/logging-log4j2.git>" and then "git checkout
tags/log4j-2.10-rc1”
b) for an existing working copy to “git pull” and then “git checkout
tags/log4j-2.10-rc1”
Web Site: http://rgoers.github.io/log4j2-site/index.html
<http://rgoers.github.io/log4j2-site/index.html>
Maven Artifacts:
https://repository.apache.org/content/repositories/orgapachelogging-1031
<https://repository.apache.org/content/repositories/orgapachelogging-1031>
Distribution archives: https://dist.apache.org/repos/dist/dev/logging/log4j/
<https://dist.apache.org/repos/dist/dev/logging/log4j/>
You may download all the Maven artifacts by executing:
wget -e robots=off --cut-dirs=7 -nH -r -p -np --no-check-certificate
https://repository.apache.org/content/repositories/orgapachelogging-1031/org/apache/logging/log4j/
<https://repository.apache.org/content/repositories/orgapachelogging-1031/org/apache/logging/log4j/>
Ralph