You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Clayton Wohl <cl...@gmail.com> on 2025/05/05 21:00:14 UTC

log4j 3.0 feature request: Jackson 3.0

The current log4j 3.0 beta builds use Jackson 2.x. My request is that
log4j 3.0 development switch to Jackson 3.0 RC builds. This would mean
that a final log4j 3.0 would be dependent on a final Jackson 3.0, but
it looks like Jackson 3.0 will release first anway.

Jackson 3.0 is a large upgrade from Jackson 2.x. It would seem silly
to release a log4j 3.0 later this year still using Jackson 2.x and
then be committed to Jackson 2.x for compatibility reasons.

It would be nice to start testing log4j 3.0 beta releases with jackson
3.0 and finding any issues sooner rather than later.

Re: log4j 3.0 feature request: Jackson 3.0

Posted by "Piotr P. Karwasz" <pi...@mailing.copernik.eu>.
Hi Clayton,

On 5.05.2025 23:00, Clayton Wohl wrote:
> The current log4j 3.0 beta builds use Jackson 2.x. My request is that
> log4j 3.0 development switch to Jackson 3.0 RC builds. This would mean
> that a final log4j 3.0 would be dependent on a final Jackson 3.0, but
> it looks like Jackson 3.0 will release first anway.
+1

Since Jackson 3.x uses a different Maven groupId and a different Java 
package a Java application can safely use Jackson 2 and 3 at the same 
time. This means that upgrading `log4j-docker`, `log4j-config-jackson`, 
`log4j-config-properties` and `log4j-config-yaml` to Jackson 3 will 
cause no compatibility problems to our users.

Feel free to provide a PR for the `main` branch.

Piotr