[
https://issues.apache.org/jira/browse/LOG4J2-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ralph Goers closed LOG4J2-2736.
-------------------------------
Fix Version/s: (was: 2.13.1)
2.13.0
Resolution: Fixed
> Log4j-web is unable to locate the servlet context in Spring Boot.
> -----------------------------------------------------------------
>
> Key: LOG4J2-2736
> URL: https://issues.apache.org/jira/browse/LOG4J2-2736
> Project: Log4j 2
> Issue Type: Bug
> Affects Versions: 2.12.1
> Reporter: Ralph Goers
> Assignee: Ralph Goers
> Priority: Major
> Fix For: 2.13.0
>
>
> WebLoggerContextUtils is expecting that the LoggerContext's external context
> field will point to the servlet context. Unfortunately, Spring Boot uses that
> field as a flag to indicate that logging has initialized. Log4j 2.13.0 added
> a Map so that multiple fields could be stored. Log4j-web should be modified
> to store the servlet context in its own key.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)