Release notes

3.0.0-beta1

Release date

2024-09-17

This release constitutes a major rework of the initial release. Since the Tomcat Log4j Core lookup and Tomcat Classloader need to be in different classloaders, the log4j-tomcat is split in two parts:

New components

The set of tools to integrate Log4j and Tomcat is expanded to include:

Added

  • Add parallel version of Log4jWebappClassLoader. (#46)

Changed

  • Add Tomcat JULI implementation in a new tomcat-juli-to-log4j artifact. (#101)

  • Add a context data provider to fill the "engine.name", "host.name" and "context.name" context entries. (#103)

  • Add context selector based on Tomcat’s thread context classloaders. (#105)

  • Split Tomcat classloaders into a new tomcat-log4j artifact. (#80)

2.18.0

Release date

2022-09-22

First release containing:

  • a Tomcat classloader that applies the "delegate to parent first" strategy to log4j-api classes,

  • a Log4j Core lookup that resolves the name of the application currently running on the thread.

Added

  • Add a Log4jWebappClassLoader that delegates Log4j API classes to the parent classloader.

  • Add a Tomcat lookup to retrieve data from WebappProperties.