You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/08/13 18:36:00 UTC
[jira] [Created] (LOG4J2-2910) Log4j-web fails when used with
anything that stores into the external context field
Ralph Goers created LOG4J2-2910:
-----------------------------------
Summary: 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
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)