-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
bugIncorrect, unexpected, or unintended behavior of existing codeIncorrect, unexpected, or unintended behavior of existing codeconfigurationAffects the configuration system in a general wayAffects the configuration system in a general way
Milestone
Description
Description
The software ignores YAML configuration silently if YAML configuration is used with the dependencies specified on the Maven, Ivy Gradle Artifacts page (log4j-api and log4j-core) but not with the Jackson Databind and YAML Data Format dependencies.
Configuration
Version: 2.20.0
Operating system: Windows 11 (build 22621.1702)
JDK: openjdk 19.0.2 2023-01-17
Logs
None, no warning about using default configurations or being unable to process a log4j2.yaml file found on the classpath.
Reproduction
- Create a YAML configuration file named log4j2.yaml on the classpath turning on debug messages.
- Create a unit test getting the logger and logging an error message and a debug message.
- Observe only the error message during runtime.
Thank you.
Metadata
Metadata
Assignees
Labels
bugIncorrect, unexpected, or unintended behavior of existing codeIncorrect, unexpected, or unintended behavior of existing codeconfigurationAffects the configuration system in a general wayAffects the configuration system in a general way
Type
Projects
Status
To triage