Re: [VOTE][LAZY] Release Apache Logging Parent `12.1.1`

2025-06-13 Thread Piotr P. Karwasz
On 10.06.2025 14:17, Piotr P. Karwasz wrote:
> This is a lazy-vote to release the Apache Logging Parent `12.1.1`.
> 
> Website: https://logging.staged.apache.org/logging-parent-12.1.1
> GitHub: https://github.com/apache/logging-parent
> Commit: 9c01c1092a2c07d779d848232762e86e174eb70e
> Distribution:
> https://dist.apache.org/repos/dist/dev/logging/logging-parent/12.1.1
> Nexus:
> https://repository.apache.org:443/content/repositories/orgapachelogging-1318
> Signing key: 0x077e8893a6dcc33dd4a4d5b256e73ba9a0b592d0
> Review kit:
> https://logging.apache.org/logging-parent/release-review-instructions.html
> 
> Please download, test, and cast your votes on this mailing list.
> 
> [ ] +1, release the artifacts
> [ ] -1, don't release, because...
> 
> This vote is open for 72 hours and will pass unless getting a
> net negative vote count. All votes are welcome and we encourage
> everyone to test the release, but only the Logging Services PMC
> votes are officially counted.

And this is my +1.

The lazy-vote passes with a single +1 vote. I will continue the release
process.

Piotr


[ANNOUNCE] Apache Logging Parent `12.1.1` released

2025-06-13 Thread Piotr P. Karwasz
Apache Logging Parent team is pleased to announce the `12.1.1`
release. This project contains the parent POM for other Maven-based
Apache Logging Services projects. For further information (support,
download, etc.) see the project website[1].

[1] https://logging.apache.org/logging-parent

== Release Notes

This patch release addresses a blocker issue with the creation of a
release distribution and enhances the reliability of our caching and
reproducibility mechanisms.


=== Fixed

* Fix staging of binary distribution archive. (#400)
* Improve Node.js caching using `package-lock.json`. (#366, #408)
* Improve reliability of reproducibility verification. (#388)


=== Updated

* Update `actions/setup-java` to version `4.7.1` (#376)
* Update `com.diffplug.spotless:spotless-maven-plugin` to version
`2.44.5` (#397)
* Update `com.google.errorprone:error_prone_core` to version `2.38.0` (#381)
* Update `com.gradle:common-custom-user-data-maven-extension` to version
`2.0.3` (#407)
* Update `com.gradle:develocity-maven-extension` to version `2.0.1` (#398)
* Update `com.h3xstream.findsecbugs:findsecbugs-plugin` to version
`1.14.0` (#380)
* Update `com.palantir.javaformat:palantir-java-format` to version
`2.68.0` (#410)
* Update `dependabot/fetch-metadata` to version `2.4.0` (#386)
* Update `github/codeql-action` to version `3.28.19` (#402)
* Update `gradle/develocity-actions` to version `1.4` (#404)
* Update `org.apache.groovy:groovy` to version `4.0.27` (#395)
* Update `org.codehaus.gmavenplus:gmavenplus-plugin` to version `4.2.0`
(#383)
* Update `org.codehaus.mojo:build-helper-maven-plugin` to version
`3.6.1` (#403)
* Update `org.codehaus.mojo:exec-maven-plugin` to version `3.5.1` (#396)
* Update `org.eclipse.jgit:org.eclipse.jgit` to version
`7.3.0.202506031305-r` (#405)
* Update `org.jacoco:jacoco-maven-plugin` to version `0.8.13` (#368)
* Update `ossf/scorecard-action` to version `2.4.2` (#399)


Re: [VOTE] Release Apache Log4j `2.25.0` (RC1)

2025-06-13 Thread Gary Gregory
FWIW, I updated to:

Docker version 28.2.2, build e6534b4

But the result is the same :(

Gary

On Fri, Jun 13, 2025 at 9:22 PM Gary Gregory  wrote:
>
> Hi Piotr,
>
> Running:
>
> mvn clean verify -Pdocker
>
> I.get:
>
> [INFO] DOCKER> Pulling from library/elasticsearch
> 4f4fb700ef54: Pull complete
> 917e7c84aa9f: Pull complete
> 9bc7cea61360: Pull complete
> 17932c3263b2: Pull complete
> e4eabb4d0724: Pull complete
> 89fc15b13be8: Pull complete
> e20dbb8c40e5: Pull complete
> 9847f1c8a7d9: Pull complete
> b58531df304c: Pull complete
> [INFO] DOCKER> Digest:
> sha256:2cc40b15dff85281ac804e7ff27cbc07b31fdd542e94ea7a2bdb6470e3b6bb68
> [INFO] DOCKER> Status: Downloaded newer image for elasticsearch:8.17.3
> [INFO] DOCKER> Pulled elasticsearch:8.17.3 in 29 seconds
> [INFO] DOCKER> Pulling from library/logstash
> 4f4fb700ef54: Pull complete
> 4a95142d68c2: Pull complete
> 18460973a003: Pull complete
> 36b59902436f: Pull complete
> 06afb4f30b92: Pull complete
> 253229dc1f79: Pull complete
> d7c70bd27f9d: Pull complete
> 81f9d2d02707: Pull complete
> 783b4dec8f32: Pull complete
> 60290318b35c: Pull complete
> fa627c795ff6: Pull complete
> [INFO] DOCKER> Digest:
> sha256:01feca1dd93ae1c7b0d16d6a7ec08070d13a2e9af16cba88ea916600af8ea8b8
> [INFO] DOCKER> Status: Downloaded newer image for logstash:8.17.3
> [INFO] DOCKER> Pulled logstash:8.17.3 in 27 seconds
> [INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Start container
> e514938157d8
> [INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Network mode:
> log4j-layout-template-json-network
> [INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Waiting for
> ports [9200] directly on container with IP (172.19.0.2).
> [ERROR] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Timeout after
> 60736 ms while waiting on tcp port '[/172.19.0.2:9200]'
> [ERROR] DOCKER> Error occurred during container startup, shutting down...
> [INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Stop and
> removed container e514938157d8 after 0 ms
> [ERROR] DOCKER> I/O Error [[elasticsearch:8.17.3] "elasticsearch":
> Timeout after 60736 ms while waiting on tcp port '[/172.19.0.2:9200]']
> [INFO] 
> 
> [INFO] Reactor Summary for Apache Log4j BOM 2.25.0:
> [INFO]
> [INFO] Apache Log4j BOM ... SUCCESS [  5.647 
> s]
> [INFO] Apache Log4j Parent  SUCCESS [  0.496 
> s]
> [INFO] Apache Log4j API Java 9 support  SUCCESS [  3.506 
> s]
> [INFO] Apache Log4j API ... SUCCESS [  9.020 
> s]
> [INFO] Apache Log4j Implementation Java 9 support . SUCCESS [  2.265 
> s]
> [INFO] Apache Log4j Core .. SUCCESS [ 18.817 
> s]
> [INFO] Apache Log4j API Tests . SUCCESS [ 10.767 
> s]
> [INFO] Apache Log4j Core Tests  SUCCESS [01:23 
> min]
> [INFO] Apache Log4j 1.x Compatibility API . SUCCESS [ 12.248 
> s]
> [INFO] Apache Log4j App Server Support  SUCCESS [  1.742 
> s]
> [INFO] Log4j API to SLF4J Adapter . SUCCESS [  3.454 
> s]
> [INFO] SLF4J 1 Binding for Log4j API .. SUCCESS [  4.120 
> s]
> [INFO] Apache Log4j Cassandra . SUCCESS [  3.322 
> s]
> [INFO] Apache Log4j fuzz tests  SUCCESS [  1.952 
> s]
> [INFO] Apache Log4j Core fuzz tests ... SUCCESS [  1.452 
> s]
> [INFO] Apache Log4j Core Integration Tests  SUCCESS [  0.846 
> s]
> [INFO] Apache Log4j CouchDB ... SUCCESS [  2.054 
> s]
> [INFO] Apache Log4j Docker Library  SUCCESS [  2.042 
> s]
> [INFO] Apache Log4j Streaming Interface ... SUCCESS [  4.996 
> s]
> [INFO] Apache Log4j Jakarta JMS ... SUCCESS [  3.284 
> s]
> [INFO] Apache Log4j Jakarta SMTP .. SUCCESS [  3.002 
> s]
> [INFO] Apache Log4j Jakarta Web ... SUCCESS [  3.951 
> s]
> [INFO] Apache Log4j Commons Logging Bridge  SUCCESS [  2.636 
> s]
> [INFO] Apache Log4j JPA ... SUCCESS [  4.604 
> s]
> [INFO] Apache Log4j JDK Platform Logging Adapter .. SUCCESS [  2.725 
> s]
> [INFO] Apache Log4j JDBC DBCP 2 ... SUCCESS [  3.058 
> s]
> [INFO] Apache Log4j JUL Adapter ... SUCCESS [  6.650 
> s]
> [INFO] Apache Log4j JSON Template Layout .. SUCCESS [  4.567 
> s]
> [INFO] Apache Log4j JSON Template Layout fuzz tests ... SUCCESS [  1.594 
> s]
> [INFO] Apache Log4j JSON Template Layout tests  FAILURE [02:11 
> min]
> [INFO] Apache Log4j MongoDB 4 . SKIPPED
> [INFO] Apache Log4j MongoDB Appender .. SKIPPED
> [INFO] 

Re: [VOTE] Release Apache Log4j `2.25.0` (RC1)

2025-06-13 Thread Gary Gregory
Hi Piotr,

Running:

mvn clean verify -Pdocker

I.get:

[INFO] DOCKER> Pulling from library/elasticsearch
4f4fb700ef54: Pull complete
917e7c84aa9f: Pull complete
9bc7cea61360: Pull complete
17932c3263b2: Pull complete
e4eabb4d0724: Pull complete
89fc15b13be8: Pull complete
e20dbb8c40e5: Pull complete
9847f1c8a7d9: Pull complete
b58531df304c: Pull complete
[INFO] DOCKER> Digest:
sha256:2cc40b15dff85281ac804e7ff27cbc07b31fdd542e94ea7a2bdb6470e3b6bb68
[INFO] DOCKER> Status: Downloaded newer image for elasticsearch:8.17.3
[INFO] DOCKER> Pulled elasticsearch:8.17.3 in 29 seconds
[INFO] DOCKER> Pulling from library/logstash
4f4fb700ef54: Pull complete
4a95142d68c2: Pull complete
18460973a003: Pull complete
36b59902436f: Pull complete
06afb4f30b92: Pull complete
253229dc1f79: Pull complete
d7c70bd27f9d: Pull complete
81f9d2d02707: Pull complete
783b4dec8f32: Pull complete
60290318b35c: Pull complete
fa627c795ff6: Pull complete
[INFO] DOCKER> Digest:
sha256:01feca1dd93ae1c7b0d16d6a7ec08070d13a2e9af16cba88ea916600af8ea8b8
[INFO] DOCKER> Status: Downloaded newer image for logstash:8.17.3
[INFO] DOCKER> Pulled logstash:8.17.3 in 27 seconds
[INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Start container
e514938157d8
[INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Network mode:
log4j-layout-template-json-network
[INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Waiting for
ports [9200] directly on container with IP (172.19.0.2).
[ERROR] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Timeout after
60736 ms while waiting on tcp port '[/172.19.0.2:9200]'
[ERROR] DOCKER> Error occurred during container startup, shutting down...
[INFO] DOCKER> [elasticsearch:8.17.3] "elasticsearch": Stop and
removed container e514938157d8 after 0 ms
[ERROR] DOCKER> I/O Error [[elasticsearch:8.17.3] "elasticsearch":
Timeout after 60736 ms while waiting on tcp port '[/172.19.0.2:9200]']
[INFO] 
[INFO] Reactor Summary for Apache Log4j BOM 2.25.0:
[INFO]
[INFO] Apache Log4j BOM ... SUCCESS [  5.647 s]
[INFO] Apache Log4j Parent  SUCCESS [  0.496 s]
[INFO] Apache Log4j API Java 9 support  SUCCESS [  3.506 s]
[INFO] Apache Log4j API ... SUCCESS [  9.020 s]
[INFO] Apache Log4j Implementation Java 9 support . SUCCESS [  2.265 s]
[INFO] Apache Log4j Core .. SUCCESS [ 18.817 s]
[INFO] Apache Log4j API Tests . SUCCESS [ 10.767 s]
[INFO] Apache Log4j Core Tests  SUCCESS [01:23 min]
[INFO] Apache Log4j 1.x Compatibility API . SUCCESS [ 12.248 s]
[INFO] Apache Log4j App Server Support  SUCCESS [  1.742 s]
[INFO] Log4j API to SLF4J Adapter . SUCCESS [  3.454 s]
[INFO] SLF4J 1 Binding for Log4j API .. SUCCESS [  4.120 s]
[INFO] Apache Log4j Cassandra . SUCCESS [  3.322 s]
[INFO] Apache Log4j fuzz tests  SUCCESS [  1.952 s]
[INFO] Apache Log4j Core fuzz tests ... SUCCESS [  1.452 s]
[INFO] Apache Log4j Core Integration Tests  SUCCESS [  0.846 s]
[INFO] Apache Log4j CouchDB ... SUCCESS [  2.054 s]
[INFO] Apache Log4j Docker Library  SUCCESS [  2.042 s]
[INFO] Apache Log4j Streaming Interface ... SUCCESS [  4.996 s]
[INFO] Apache Log4j Jakarta JMS ... SUCCESS [  3.284 s]
[INFO] Apache Log4j Jakarta SMTP .. SUCCESS [  3.002 s]
[INFO] Apache Log4j Jakarta Web ... SUCCESS [  3.951 s]
[INFO] Apache Log4j Commons Logging Bridge  SUCCESS [  2.636 s]
[INFO] Apache Log4j JPA ... SUCCESS [  4.604 s]
[INFO] Apache Log4j JDK Platform Logging Adapter .. SUCCESS [  2.725 s]
[INFO] Apache Log4j JDBC DBCP 2 ... SUCCESS [  3.058 s]
[INFO] Apache Log4j JUL Adapter ... SUCCESS [  6.650 s]
[INFO] Apache Log4j JSON Template Layout .. SUCCESS [  4.567 s]
[INFO] Apache Log4j JSON Template Layout fuzz tests ... SUCCESS [  1.594 s]
[INFO] Apache Log4j JSON Template Layout tests  FAILURE [02:11 min]
[INFO] Apache Log4j MongoDB 4 . SKIPPED
[INFO] Apache Log4j MongoDB Appender .. SKIPPED
[INFO] Apache Log4j to JUL Bridge . SKIPPED
[INFO] Apache Log4j OSGi tests  SKIPPED
[INFO] Apache Log4J Performance Tests . SKIPPED
[INFO] SLF4J 2 Provider for Log4j API . SKIPPED
[INFO] SLF4J 2 Provider for Log4j API fuzz tests .. SKIPPED
[INFO] Apache Log4j Spring Boot Support ... SKIPPED
[INFO] Apache

[VOTE] Release Apache Log4j `2.25.0` (RC1)

2025-06-13 Thread Piotr P. Karwasz
This is a vote to release the Apache Log4j `2.25.0`.

Website: https://logging.staged.apache.org/log4j/2.25.0/index.html
GitHub: https://github.com/apache/logging-log4j2
Commit: ea10ad3e78469e43f138853b8c9892bc51bc87ec
Distribution: https://dist.apache.org/repos/dist/dev/logging/log4j/2.25.0
Nexus:
https://repository.apache.org:443/content/repositories/orgapachelogging-1319
Signing key: 0x077e8893a6dcc33dd4a4d5b256e73ba9a0b592d0
Review kit:
https://logging.apache.org/logging-parent/release-review-instructions.html[*]

Please download, test, and cast your votes on this mailing list and
optionally on ATR[**].

[ ] +1, release the artifacts
[ ] -1, don't release, because...

This vote is open for 72 hours and will pass unless getting a net
negative vote count. All votes are welcome and we encourage everyone to
test the release, but only the Logging Services PMC votes are officially
counted. At least 3 +1 votes and more positive than negative votes are
required.

[*] The reproducibility check for the
`log4j-bom-2.25.0-cyclonedx.xml` artifact may fail for an
undetermined reason. Local testing indicates that any differences are
limited to the ordering of the `jspecify` dependency in the XML file,
which does not affect the meaning of the SBOM.

Reviewers are advised to ignore this failure by adding the following
parameter to the Maven command line:

  -Dbuildinfo.ignore="*/log4j-bom-2.25.0-cyclonedx.xml"

[**] Since Apache Trusted Release is in an alpha stage, votes cast
through ATR will not be officially counted. Nevertheless I invite Apache
committers to test it at this URL:

https://release-test.apache.org/vote/logging-log4j/2.25.0


Release Notes
-

This minor release introduces bug fixes, behavior improvements, and
complete support for GraalVM native image generation.

GraalVM Reachability Metadata
-

Log4j Core and all extension modules now include embedded GraalVM
reachability metadata [1], enabling seamless generation of native
images with GraalVM out of the box—no manual configuration required.
For more information, refer to our GraalVM guide [2].

Note:

When building third-party Log4j plugins, using the new
`GraalVmProcessor` introduced in version `2.25.0` will automatically
generate the required reachability metadata for GraalVM native images.
However, the processor will fail the build if the required
`log4j.graalvm.groupId` and `log4j.graalvm.artifactId` parameters are
not provided. For detailed instructions, see Registering plugins [3].

Exception Handling in Pattern Layout


Exception handling in Pattern Layout [4] has undergone a significant
rewrite. This update resolves several bugs and ensures consistent
behavior across all exception converters. Key improvements include:

* Stack traces are now consistently prefixed with a newline.
* The default exception converter has changed from extended [5] to
  plain [6], offering better performance.
* Support for the `{ansi}` option in exception converters has been
  removed.

Date & Time Formatting
--

Log4j has historically provided custom date and time formatters for
performance, such as FixedDateFormat [7] and FastDateFormat [8]. These
are now deprecated in favor of Java’s standard DateTimeFormatter [9].

If you encounter formatting issues after upgrading—particularly with `n`
or `x` directives—you can temporarily revert to the legacy formatters by
setting the `log4j2.instantFormatter` property to `legacy` [10]. Please
report any issues via our issue tracker [11].

ANSI Support on Windows


Modern Windows versions (10 and newer) provide native ANSI escape
sequence support. As a result, dependency on the outdated JAnsi 1.x
library has been removed. For details, refer to ANSI styling on Windows
[12].

Jakarta JMS Appender
-

A Jakarta-compatible version of the JMS Appender [13] is now included in
the core distribution.

Detailed release notes
---

For all the changes in this release, see the website [14].

Links:
[1] https://www.graalvm.org/latest/reference-manual/native-image/metadata/
[2] https://logging.staged.apache.org/log4j/2.25.0/manual/graalvm.html
[3]
https://logging.staged.apache.org/log4j/2.25.0/manual/plugins.html#plugin-registry

[4]
https://logging.staged.apache.org/log4j/2.25.0/manual/pattern-layout.html
[5]
https://logging.staged.apache.org/log4j/2.25.0/manual/pattern-layout.html#converter-exception-extended

[6]
https://logging.staged.apache.org/log4j/2.25.0/manual/pattern-layout.html#converter-exception

[7]
https://logging.staged.apache.org/log4j/2.25.0/javadoc/log4j-core/org/apache/logging/log4j/core/util/datetime/FixedDateFormat.html

[8]
https://logging.staged.apache.org/log4j/2.25.0/javadoc/log4j-core/org/apache/logging/log4j/core/util/datetime/FastDateFormat.html

[9]
https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html

[10]
https://logging.sta