You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disable programmatic configuration if 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 and DOMConfigurator classes.
This feature should be disabled by default and depend on the opt-in log4j1.compatibility property, because:
if some applications actually use those classes, they can always set log4j1.compatibility to true. This configuration property is also used to enable the scanning of the classpath for log4j.properties and log4j.xml files.
Sounds reasonable. This should be front-and-center in the release notes in a MINOR release, not a MAINTENANCE release as it is an important behavior breaking change.
Activity
Disable programmatic configuration if `log4j1.compatibility` is `false`
Disable programmatic configuration if `log4j1.compatibility` is `false`
garydgregory commentedon Aug 8, 2024
Sounds reasonable. This should be front-and-center in the release notes in a MINOR release, not a MAINTENANCE release as it is an important behavior breaking change.
Disable programmatic configuration if `log4j1.compatibility` is `false`