You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Ralph Goers <ra...@dslextreme.com> on 2023/02/18 06:52:39 UTC

[VOTE] Release Apache Log4j 2.20.0-rc1

This is a vote to release Log4j 2.20.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. 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.

Changes in this version include:

Added
    • Add support for timezones in RollingFileAppender date pattern (for LOG4J2-1631 by Piotr P. Karwasz, Danas Mikelinskas)
    • Add LogEvent timestamp to ProducerRecord in KafkaAppender (for LOG4J2-2678 by Piotr P. Karwasz, Federico D’Ambrosio)
    • Add PatternLayout support for abbreviating the name of all logger components except the 2 rightmost (for LOG4J2-2785 by Ralph Goers, Markus Spann)
    • Removes internal field that leaked into public API. (for LOG4J2-3615 by Piotr P. Karwasz)
    • Add a LogBuilder#logAndGet() method to emulate the Logger#traceEntry method. (for LOG4J2-3645 by Piotr P. Karwasz)
Changed
    • Simplify site generation (for 1166 by Volkan Yazıcı
    • Switch the issue tracker from JIRA to GitHub Issues (for 1172 by Volkan Yazıcı)
    • Remove liquibase-log4j2 maven module (for 1193 by StevenMassaro)
    • Fix order of stacktrace elements, that causes cache misses in ThrowableProxyHelper. (for 1214 by alex-dubrouski, Piotr P. Karwasz)
    • Switch from com.sun.mail to Eclipse Angus. (for LOG4J2-3554 by Oleh Astappiev, Piotr P. Karwasz)
    • Add Log4j2 Core as default runtime dependency of the SLF4J2-to-Log4j2 API bridge. (for LOG4J2-3601 by afs, Piotr P. Karwasz)
    • Replace maven-changes-plugin with a custom changelog implementation (for LOG4J2-3628 by Volkan Yazıcı)
Deprecated
    • Deprecate support for package scanning for plugins (for LOG4J2-3644 by Ralph Goers)
Fixed
    • Copy programmatically supplied location even if includeLocation="false". (for 1197 by Piotr P. Karwasz)
    • Eliminate status logger warning, when disableAnsi or noConsoleNoAnsi is used the style and highlight patterns. (for 1202 by wleese, Piotr P. Karwasz)
    • Fix detection of location requirements in RewriteAppender. (for 1274 by amirhadadi, Piotr P. Karwasz)
    • Replace regex with manual code to escape characters in Rfc5424Layout. (for 1277 by adwsingh)
    • Fix java.sql.Time object formatting in MapMessage (for LOG4J2-2297 by Ralph Goers)
    • Fix previous fire time computation in CronTriggeringPolicy (for LOG4J2-3357 by Ralph Goers)
    • Correct default to not include location for AsyncRootLoggers (for LOG4J2-3487 by Ralph Goers, Dave Messink)
    • Lazily evaluate the level of a SLF4J LogEventBuilder (for LOG4J2-3598 by Piotr P. Karwasz)
    • Fixes priority of Legacy system properties, which are now back to having higher priority than Environment variables. (for LOG4J2-3615 by adwsingh, Piotr P. Karwasz)
    • Protects ServiceLoaderUtil from unchecked ServiceLoader exceptions. (for LOG4J2-3624 by Piotr P. Karwasz)
    • Fix Configurator#setLevel for internal classes (for LOG4J2-3631 by Piotr P. Karwasz, Jeff Thomas)
    • Fix level propagation in Log4jBridgeHandler (for LOG4J2-3634 by Piotr P. Karwasz, Marcel Koch)
    • Disable OsgiServiceLocator if not running in OSGI container. (for LOG4J2-3642 by adwsingh, Piotr P. Karwasz)
    • When using a Date Lookup in the file pattern the current time should be used. (for LOG4J2-3643 by Ralph Goers)
    • Fixed LogBuilder filtering in the presence of global filters. (for LOG4J2-3647 by Piotr P. Karwasz)

Tag: 
a)  for a new copy do "git clone https://github.com/apache/logging-log4j2.git and then "git checkout tags/log4j-2.20.0-rc1”  or just "git clone -b log4j-2.20.0-rc1 https://github.com/apache/logging-log4j2.git"
b) for an existing working copy to “git pull” and then “git checkout tags/log4j-2.20.0-rc1”

Web Site:  https://logging.staged.apache.org/log4j/2.x/index.html.

Maven Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1098/

Distribution archives: 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-1098/org/apache/logging/log4j/

Ralph

Re: [VOTE] Release Apache Log4j 2.20.0-rc1

Posted by Ralph Goers <ra...@dslextreme.com>.
My +1

Ralph

> On Feb 17, 2023, at 11:52 PM, Ralph Goers <ra...@dslextreme.com> wrote:
> 
> This is a vote to release Log4j 2.20.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. 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.
> 
> Changes in this version include:
> 
> Added
>    • Add support for timezones in RollingFileAppender date pattern (for LOG4J2-1631 by Piotr P. Karwasz, Danas Mikelinskas)
>    • Add LogEvent timestamp to ProducerRecord in KafkaAppender (for LOG4J2-2678 by Piotr P. Karwasz, Federico D’Ambrosio)
>    • Add PatternLayout support for abbreviating the name of all logger components except the 2 rightmost (for LOG4J2-2785 by Ralph Goers, Markus Spann)
>    • Removes internal field that leaked into public API. (for LOG4J2-3615 by Piotr P. Karwasz)
>    • Add a LogBuilder#logAndGet() method to emulate the Logger#traceEntry method. (for LOG4J2-3645 by Piotr P. Karwasz)
> Changed
>    • Simplify site generation (for 1166 by Volkan Yazıcı
>    • Switch the issue tracker from JIRA to GitHub Issues (for 1172 by Volkan Yazıcı)
>    • Remove liquibase-log4j2 maven module (for 1193 by StevenMassaro)
>    • Fix order of stacktrace elements, that causes cache misses in ThrowableProxyHelper. (for 1214 by alex-dubrouski, Piotr P. Karwasz)
>    • Switch from com.sun.mail to Eclipse Angus. (for LOG4J2-3554 by Oleh Astappiev, Piotr P. Karwasz)
>    • Add Log4j2 Core as default runtime dependency of the SLF4J2-to-Log4j2 API bridge. (for LOG4J2-3601 by afs, Piotr P. Karwasz)
>    • Replace maven-changes-plugin with a custom changelog implementation (for LOG4J2-3628 by Volkan Yazıcı)
> Deprecated
>    • Deprecate support for package scanning for plugins (for LOG4J2-3644 by Ralph Goers)
> Fixed
>    • Copy programmatically supplied location even if includeLocation="false". (for 1197 by Piotr P. Karwasz)
>    • Eliminate status logger warning, when disableAnsi or noConsoleNoAnsi is used the style and highlight patterns. (for 1202 by wleese, Piotr P. Karwasz)
>    • Fix detection of location requirements in RewriteAppender. (for 1274 by amirhadadi, Piotr P. Karwasz)
>    • Replace regex with manual code to escape characters in Rfc5424Layout. (for 1277 by adwsingh)
>    • Fix java.sql.Time object formatting in MapMessage (for LOG4J2-2297 by Ralph Goers)
>    • Fix previous fire time computation in CronTriggeringPolicy (for LOG4J2-3357 by Ralph Goers)
>    • Correct default to not include location for AsyncRootLoggers (for LOG4J2-3487 by Ralph Goers, Dave Messink)
>    • Lazily evaluate the level of a SLF4J LogEventBuilder (for LOG4J2-3598 by Piotr P. Karwasz)
>    • Fixes priority of Legacy system properties, which are now back to having higher priority than Environment variables. (for LOG4J2-3615 by adwsingh, Piotr P. Karwasz)
>    • Protects ServiceLoaderUtil from unchecked ServiceLoader exceptions. (for LOG4J2-3624 by Piotr P. Karwasz)
>    • Fix Configurator#setLevel for internal classes (for LOG4J2-3631 by Piotr P. Karwasz, Jeff Thomas)
>    • Fix level propagation in Log4jBridgeHandler (for LOG4J2-3634 by Piotr P. Karwasz, Marcel Koch)
>    • Disable OsgiServiceLocator if not running in OSGI container. (for LOG4J2-3642 by adwsingh, Piotr P. Karwasz)
>    • When using a Date Lookup in the file pattern the current time should be used. (for LOG4J2-3643 by Ralph Goers)
>    • Fixed LogBuilder filtering in the presence of global filters. (for LOG4J2-3647 by Piotr P. Karwasz)
> 
> Tag: 
> a)  for a new copy do "git clone https://github.com/apache/logging-log4j2.git and then "git checkout tags/log4j-2.20.0-rc1”  or just "git clone -b log4j-2.20.0-rc1 https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout tags/log4j-2.20.0-rc1”
> 
> Web Site:  https://logging.staged.apache.org/log4j/2.x/index.html.
> 
> Maven Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1098/
> 
> Distribution archives: 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-1098/org/apache/logging/log4j/
> 
> Ralph


Re: [VOTE] Release Apache Log4j 2.20.0-rc1

Posted by "Piotr P. Karwasz" <pi...@gmail.com>.
Hi Ralph,

On Sat, 18 Feb 2023 at 07:52, Ralph Goers <ra...@dslextreme.com> wrote:
>
> This is a vote to release Log4j 2.20.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...

Compilation from both the source archive and git tag give nice results:

 * the tar.gz distribution has the same hashes as the Maven repo artifacts,
 * almost all artifacts are reproducible except: log4j-spring-boot,
log4j-docker, log4j-kubernetes, log4j-spring-cloud-config-client. I
guess they use non-deterministic Maven plugins..

+1

Piotr

Re: [VOTE] Release Apache Log4j 2.20.0-rc1

Posted by Volkan Yazıcı <vo...@yazi.ci>.
+1

Thanks for taking care of the release Ralph.
Vitals look good to me:

$ ./bin/verify-release-artifacts.sh -t
Using temporary working directory: /tmp/tmp.BcjSYUPvoN
Downloading GPG keys...
Importing GPG keys...
Downloading release artifacts...
Checking signatures...
Checked signature file count: 5
Checking hashes...
Checked hash file count: 10
All checks are succeeded.

For those who haven't noticed yet, check out this beauty:
https://logging.staged.apache.org/log4j/2.x/release-notes/index.html

On Sat, Feb 18, 2023 at 7:52 AM Ralph Goers <ra...@dslextreme.com>
wrote:

> This is a vote to release Log4j 2.20.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. 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.
>
> Changes in this version include:
>
> Added
>     • Add support for timezones in RollingFileAppender date pattern (for
> LOG4J2-1631 by Piotr P. Karwasz, Danas Mikelinskas)
>     • Add LogEvent timestamp to ProducerRecord in KafkaAppender (for
> LOG4J2-2678 by Piotr P. Karwasz, Federico D’Ambrosio)
>     • Add PatternLayout support for abbreviating the name of all logger
> components except the 2 rightmost (for LOG4J2-2785 by Ralph Goers, Markus
> Spann)
>     • Removes internal field that leaked into public API. (for LOG4J2-3615
> by Piotr P. Karwasz)
>     • Add a LogBuilder#logAndGet() method to emulate the Logger#traceEntry
> method. (for LOG4J2-3645 by Piotr P. Karwasz)
> Changed
>     • Simplify site generation (for 1166 by Volkan Yazıcı
>     • Switch the issue tracker from JIRA to GitHub Issues (for 1172 by
> Volkan Yazıcı)
>     • Remove liquibase-log4j2 maven module (for 1193 by StevenMassaro)
>     • Fix order of stacktrace elements, that causes cache misses in
> ThrowableProxyHelper. (for 1214 by alex-dubrouski, Piotr P. Karwasz)
>     • Switch from com.sun.mail to Eclipse Angus. (for LOG4J2-3554 by Oleh
> Astappiev, Piotr P. Karwasz)
>     • Add Log4j2 Core as default runtime dependency of the
> SLF4J2-to-Log4j2 API bridge. (for LOG4J2-3601 by afs, Piotr P. Karwasz)
>     • Replace maven-changes-plugin with a custom changelog implementation
> (for LOG4J2-3628 by Volkan Yazıcı)
> Deprecated
>     • Deprecate support for package scanning for plugins (for LOG4J2-3644
> by Ralph Goers)
> Fixed
>     • Copy programmatically supplied location even if
> includeLocation="false". (for 1197 by Piotr P. Karwasz)
>     • Eliminate status logger warning, when disableAnsi or noConsoleNoAnsi
> is used the style and highlight patterns. (for 1202 by wleese, Piotr P.
> Karwasz)
>     • Fix detection of location requirements in RewriteAppender. (for 1274
> by amirhadadi, Piotr P. Karwasz)
>     • Replace regex with manual code to escape characters in
> Rfc5424Layout. (for 1277 by adwsingh)
>     • Fix java.sql.Time object formatting in MapMessage (for LOG4J2-2297
> by Ralph Goers)
>     • Fix previous fire time computation in CronTriggeringPolicy (for
> LOG4J2-3357 by Ralph Goers)
>     • Correct default to not include location for AsyncRootLoggers (for
> LOG4J2-3487 by Ralph Goers, Dave Messink)
>     • Lazily evaluate the level of a SLF4J LogEventBuilder (for
> LOG4J2-3598 by Piotr P. Karwasz)
>     • Fixes priority of Legacy system properties, which are now back to
> having higher priority than Environment variables. (for LOG4J2-3615 by
> adwsingh, Piotr P. Karwasz)
>     • Protects ServiceLoaderUtil from unchecked ServiceLoader exceptions.
> (for LOG4J2-3624 by Piotr P. Karwasz)
>     • Fix Configurator#setLevel for internal classes (for LOG4J2-3631 by
> Piotr P. Karwasz, Jeff Thomas)
>     • Fix level propagation in Log4jBridgeHandler (for LOG4J2-3634 by
> Piotr P. Karwasz, Marcel Koch)
>     • Disable OsgiServiceLocator if not running in OSGI container. (for
> LOG4J2-3642 by adwsingh, Piotr P. Karwasz)
>     • When using a Date Lookup in the file pattern the current time should
> be used. (for LOG4J2-3643 by Ralph Goers)
>     • Fixed LogBuilder filtering in the presence of global filters. (for
> LOG4J2-3647 by Piotr P. Karwasz)
>
> Tag:
> a)  for a new copy do "git clone
> https://github.com/apache/logging-log4j2.git and then "git checkout
> tags/log4j-2.20.0-rc1”  or just "git clone -b log4j-2.20.0-rc1
> https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout
> tags/log4j-2.20.0-rc1”
>
> Web Site:  https://logging.staged.apache.org/log4j/2.x/index.html.
>
> Maven Artifacts:
> https://repository.apache.org/content/repositories/orgapachelogging-1098/
>
> Distribution archives:
> 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-1098/org/apache/logging/log4j/
>
> Ralph