Skip to content

Add suppost for reading log4j2.json with jackson-databind v3 #3950

@ashr123

Description

@ashr123

Description

need to refactor org.apache.logging.log4j.core.config.json.JsonConfigurationFactory & org.apache.logging.log4j.core.config.json.JsonConfiguration or create new ones

Configuration

Version: 2.25.2

Operating system: MacOS 26.0.1

JDK:

java --version

openjdk 25 2025-09-16
OpenJDK Runtime Environment Homebrew (build 25)
OpenJDK 64-Bit Server VM Homebrew (build 25, mixed mode, sharing)

Logs

2025-10-10T15:40:52.353675Z main ERROR Found configuration file `log4j2.json` for the inactive `org.apache.logging.log4j.core.config.json.JsonConfigurationFactory`. This `ConfigurationFactory` implementation might be inactive due to a missing dependency.

Reproduction

Follow the following instruction and create a logger and log4j2.json with any configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions