Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
In a situation where no Jackson library has been added to the classpath of the project, if there is a log4j2.json file, the logger will silently use the default configuration, ignoring any log4j2.xml file that would also be available in the project.
Instead, log4j should either use the log4j2.xml file for configuration, or some error message should be displayed, to show that log4j2.json could not be read, and that the default configuration is used.
Attachments
Issue Links
- relates to
-
LOG4J2-765 Feature request: log warning to console if default configuration is used when missing log4j-core
- Closed