---
title: "spring-boot-starter-log4j2 4.0.0-RC2 Breaking Changes"
description: "What each org.springframework.boot:spring-boot-starter-log4j2 release on Maven Central removed, renamed or changed, each with its source."
canonical_url: https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter-log4j2
last_updated: 2026-12-04
---

# org.springframework.boot:spring-boot-starter-log4j2 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 4.0.0-RC2 (November 20, 2025) is its newest release with breaking changes, 6 of them. The first: Splits micrometer tracing module into Brave and OpenTelemetry modules in org.springframework.boot:spring-boot-starter-log4j2 4.0.0-RC2. Every breaking API change we have recorded in org.springframework.boot:spring-boot-starter-log4j2 on Maven Central: 104 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.2.0`. [Source repository](https://github.com/spring-projects/spring-boot)

Its 3.0.0-M1 release requires [Java 17](https://since.dev/calendar/eclipse-temurin/17.md) or later. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

- From [3.0.0](#v-3-0-0) to [4.0.0-RC2](#v-4-0-0-RC2): 58 breaking changes in 5 versions.

## org.springframework.boot:spring-boot-starter-log4j2 4.0.0-RC2 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 4.0.0-RC2, released November 20, 2025: 6 breaking changes.

- **Removed**  

spring-boot-micrometer-tracing was split into Brave- and OpenTelemetry-specific modules. Dependencies on the original module must switch to the matching new module. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Renamed** `management.opentelemetry.logging.export`  

The management.opentelemetry.logging.export properties were renamed. Update configuration to the new property names. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Renamed** `management.zipkin.tracing`  

The management.zipkin.tracing property was renamed to management.tracing.export.zipkin. Update configuration files to use the new name. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Renamed** `OnlyOnceLoggingDenyMeterFilter`  

The OnlyOnceLoggingDenyMeterFilter class was renamed, so code referencing the old name must be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Configuration changed** `management.logging.export.{name}.enabled`  

The property backing the logging export enabled condition changed to management.logging.export.{name}.enabled. Update configuration to use it. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Configuration changed** `management.tracing.export.{name}.enabled`  

The property backing the tracing export enabled condition changed to management.tracing.export.{name}.enabled. Update configuration to use it. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)

## org.springframework.boot:spring-boot-starter-log4j2 4.0.0-RC1 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 4.0.0-RC1, released November 20, 2025: 21 breaking changes.

- **Removed**  

Support for Spring Session Data MongoDB is removed. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Spring Boot 4.0.0 no longer supports Spring Pulsar Reactive. Code that relies on it must move to another approach. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

The SQL and Reactor starters are removed because they were only used transitively; add the needed dependencies directly. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Support for Bitnami is removed. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Support for Spring Session Hazelcast is removed. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Spock support is dropped until it supports Groovy 5. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Support for embedded jar launch scripts is removed. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

The integration for REST Docs' REST Assured support is removed until REST Assured supports Groovy 5. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed** `ConcurrentReferenceCachingMetadataReaderFactory`  

The class ConcurrentReferenceCachingMetadataReaderFactory is removed in this release. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed** `spring-boot-loader-classic`  

Support for spring-boot-loader-classic is dropped. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)

And 11 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## org.springframework.boot:spring-boot-starter-log4j2 4.0.0-M3 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 4.0.0-M3, released November 20, 2025: 16 breaking changes.

- **Removed**  

Jersey support is removed until it supports JAX-RS 4 (Jakarta EE 11). [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Removed** `@HttpServiceClient`  

Scanning auto-configuration for @HttpServiceClient is removed. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Removed** `MongoConnectionDetails`  

The GridFs support is removed from MongoConnectionDetails. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Removed** `OriginLookup.getPrefix`  

The getPrefix method is removed from OriginLookup. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Removed** `OriginLookup.isImmutable`  

The isImmutable method is removed from OriginLookup. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Renamed**  

The auto-configuration class is renamed to ScheduledTasksObservationAutoConfiguration. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Renamed**  

Classes named \*DataProperties are renamed to Data\*Properties, so references must be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Renamed**  

Foundational packages are restructured, so imports from the old org.springframework.boot packages may need updating. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Renamed**  

Several MongoDB configuration properties are renamed, so configuration files must be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Renamed** `@OptionalParameter`  

The @OptionalParameter annotation is replaced with JSpecify's @Nullable. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## org.springframework.boot:spring-boot-starter-log4j2 4.0.0-M2 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 4.0.0-M2, released November 20, 2025: 8 breaking changes.

- **Removed**  

Auto-configuration classes are made final and their public members are removed, so code extending or calling them will break. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Removed**  

Actuator endpoints no longer accept the javax.annotations.NonNull annotation on parameters. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Removed**  

Undertow is no longer supported because it is not Servlet 6.1 compatible. Applications using Undertow must move to another servlet container. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Removed** `StreamBuilderFactoryBeanCustomizer`  

StreamBuilderFactoryBeanCustomizer is removed in favor of Spring Kafka's StreamsBuilderFactoryBeanConfigurer. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Renamed**  

Module and package names for metrics, observation and tracing now include micrometer, so imports and dependencies must be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Behavior changed**  

Logback's console and file logging charset is harmonized, so output encoding may change for existing setups. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Behavior changed**  

Auto-configuration now provides Elasticsearch's new Rest5Client rather than the legacy RestClient. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Configuration changed**  

Projects using an older Gradle version must upgrade to Gradle 8.14 or later. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)

## org.springframework.boot:spring-boot-starter-log4j2 4.0.0-M1 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 4.0.0-M1, released November 20, 2025: 7 breaking changes.

- **Removed**  

Support for Wavefront was dropped, so code relying on it must be removed or moved to another monitoring option. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Removed**  

APIs that were deprecated for removal in 4.0 or earlier were removed, so code using them must be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Renamed** `ClientHttpRequestFactorySettings.Redirects`  

ClientHttpRequestFactorySettings.Redirects was replaced with HttpRedirects, so code using the old type must switch to it. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Renamed** `org.springframework.boot.autoconfigure.thread`  

The org.springframework.boot.autoconfigure.thread package moved to org.springframework.boot.thread, so imports must be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Behavior changed**  

Environment variables using the legacy dash format can no longer be bound, so they must be renamed to the supported format. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Behavior changed** `DefaultErrorAttributes`  

A change in DefaultErrorAttributes alters the shape of API validation error responses, so clients parsing them may need updates. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Configuration changed** `server.servlet.encoding`  

The server.servlet.encoding properties were reworked to clarify when they apply, so existing settings may take effect differently. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)

## org.springframework.boot:spring-boot-starter-log4j2 3.0.0 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 3.0.0, released November 24, 2022: 2 breaking changes.

- **Behavior changed**  

Actuator responses now output timestamps in a different format than the ISO-8601 format used before, so code parsing those timestamps may need updating. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0)
- **Default changed**  

The default value for Spring Security filter dispatcher types changed in this release, so check any filter dispatcher configuration that relied on the old default. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M5 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M5, released November 24, 2022: 13 breaking changes.

- **Removed**  

Spring Boot no longer manages the ANTLR 2 dependency version, so projects relying on it must declare the version themselves. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)
- **Removed** `AnsiColors`  

AnsiColors was removed, so code that references it will no longer compile. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)

And 11 more in this version.

### org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M4 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M4, released November 24, 2022: 12 breaking changes.

- **Removed**  

String path matching for MVC endpoint handler mappings is no longer supported, so code relying on it must change. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)
- **Removed**  

The --allow-incomplete-classpath argument is no longer passed to native-image. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)

And 10 more in this version.

### org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M3 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M3, released November 24, 2022: 8 breaking changes.

- **Removed**  

The AppEngine SDK is no longer managed by Spring Boot, so its version must be declared explicitly. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M3)
- **Removed**  

Solr auto-configuration has been removed until it supports Jetty 11, so Solr must be configured manually. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M3)

And 6 more in this version.

### org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M2 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M2, released November 24, 2022: 2 breaking changes.

- **Removed**  

Image banners are no longer supported, so banner configuration using images must be replaced with text banners. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M2)
- **Removed** `JavaVersion`  

Enum values for Java versions less than 17 were removed, so code referencing them will no longer compile. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M2)

### org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M1 breaking changes

org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M1, released November 24, 2022: 9 breaking changes.

- **Removed**  

Java 17 is now the minimum supported version. Applications on older Java versions must upgrade. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M1)
- **Removed**  

Hazelcast 3 is no longer supported. Applications using it must move to a supported Hazelcast version. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M1)

And 7 more in this version.

## Related packages

- [org.springframework.boot:spring-boot](https://since.dev/packages/maven/org.springframework.boot:spring-boot.md)
- [org.springframework.boot:spring-boot-starter](https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter.md)
- [org.springframework.boot:spring-boot-starter-data-jpa](https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter-data-jpa.md)
- [org.springframework.boot:spring-boot-starter-data-redis](https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter-data-redis.md)
- [org.springframework.boot:spring-boot-starter-cache](https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter-cache.md)
- [org.springframework.boot:spring-boot-starter-hateoas](https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter-hateoas.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
