Disable programmatic configuration if log4j1.compatibility
is false
(LOG4J2-3467)
#2778
Labels
Milestone
log4j1.compatibility
is false
(LOG4J2-3467)
#2778
This issue is moved from the LOG4J2-3467 JIRA issue.
The
log4j-1.2-api
artifact is a bridge, whose main purpose is to forward Log4j 1 "API" calls to Log4j 2 API.Version 2.17.2 of the artifact introduced support for configuring Log4j Core using the Log4j 1
PropertyConfigurator
andDOMConfigurator
classes.This feature should be disabled by default and depend on the opt-in
log4j1.compatibility
property, because:log4j1.compatibility
totrue
. This configuration property is also used to enable the scanning of the classpath forlog4j.properties
andlog4j.xml
files.The text was updated successfully, but these errors were encountered: