Cyrille Karmann (JIRA)
2014-07-22 02:26:38 UTC
Cyrille Karmann created LOG4J2-729:
--------------------------------------
Summary: log4j2.json files not ignored if no Jackson library in the classpath.
Key: LOG4J2-729
URL: https://issues.apache.org/jira/browse/LOG4J2-729
Project: Log4j 2
Issue Type: Bug
Components: Configurators
Reporter: Cyrille Karmann
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
--------------------------------------
Summary: log4j2.json files not ignored if no Jackson library in the classpath.
Key: LOG4J2-729
URL: https://issues.apache.org/jira/browse/LOG4J2-729
Project: Log4j 2
Issue Type: Bug
Components: Configurators
Reporter: Cyrille Karmann
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)