[
https://issues.apache.org/jira/browse/LOG4J2-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remko Popma updated LOG4J2-729:
-------------------------------
Fix Version/s: 2.0.2
Assignee: Remko Popma
Summary: Emit warning message to console if no config file found
(was: log4j2.json files not ignored if no Jackson library in the classpath.)
Changed summary (was: log4j2.json files not ignored if no Jackson library in
the classpath.)
> Emit warning message to console if no config file found
> -------------------------------------------------------
>
> Key: LOG4J2-729
> URL: https://issues.apache.org/jira/browse/LOG4J2-729
> Project: Log4j 2
> Issue Type: Bug
> Components: Configurators
> Reporter: Cyrille Karmann
> Assignee: Remko Popma
> Priority: Minor
> Fix For: 2.0.2
>
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]