[
https://issues.apache.org/jira/browse/LOG4J2-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ralph Goers closed LOG4J2-2910.
-------------------------------
Fix Version/s: 2.14.0
Resolution: Fixed
> Log4j-web fails when used with anything that stores into the external context
> field
> -----------------------------------------------------------------------------------
>
> Key: LOG4J2-2910
> URL: https://issues.apache.org/jira/browse/LOG4J2-2910
> Project: Log4j 2
> Issue Type: Improvement
> Components: Web/Servlet
> Affects Versions: 2.13.3
> Reporter: Ralph Goers
> Priority: Major
> Fix For: 2.14.0
>
>
> Log4j-web stores a reference to the servletcontext into the external context
> field of the LoggerContext. If another component, such as Spring Boot, stores
> into that same field then the servlet context reference will be lost. Support
> for a map of references was added in an earlier release to support Spring
> Boot. The servlet context should be stored into its own entry in the map
> rather than the single external context field.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)