designatevoid opened a new issue, #1501:
URL: https://github.com/apache/logging-log4j2/issues/1501

   ## Description
   
   The software ignores YAML configuration silently if YAML configuration is 
used with the dependencies specified on the [Maven, Ivy Gradle Artifacts 
page](https://logging.apache.org/log4j/2.x/maven-artifacts.html#Using_Log4j_in_your_Apache_Maven_build)
 (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
   
   1. Create a YAML configuration file named log4j2.yaml on the classpath 
turning on debug messages.
   2. Create a unit test getting the logger and logging an error message and a 
debug message.
   3. Observe only the error message during runtime.
   
   Thank you.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to