-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No error emitted when using a YAML configuration without additional dependency #1501
Comments
The call to getConfiguration returns null when dependencies are missing. We should probably log a warning as the method wouldn't have been called if the configuration file wasn't of a supported type. |
Hi @rgoers ,
followed by:
|
Yes, you are right, the warnings are there, but they are disabled by default. We should probably bump the level of both the |
Ok, I will have a look at it. |
Hi @ppkarwasz, |
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
Thank you.
The text was updated successfully, but these errors were encountered: