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/02/16 08:01:00 UTC

[jira] [Assigned] (LOG4J2-2110) Log4jServletContextListener skips initialization and thusly never calls stop()

     [ https://issues.apache.org/jira/browse/LOG4J2-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers reassigned LOG4J2-2110:
-----------------------------------

    Assignee: Ralph Goers

> Log4jServletContextListener skips initialization and thusly never calls stop()
> ------------------------------------------------------------------------------
>
>                 Key: LOG4J2-2110
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2110
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Web/Servlet
>    Affects Versions: 2.8, 2.8.1, 2.8.2, 2.9.0, 2.9.1
>            Reporter: Thomas Beauvais
>            Assignee: Ralph Goers
>            Priority: Critical
>
> {{Log4jServletContextListener}} is not working in Tomcat 8 or 8.5 as it's never initialized. 
> The {{contextInitialized}} is never called and thus it never sets the {{servletContext}}.
> This is checked when a {{servletContext}} is destroyed and ignored every time.
> The outcome, is that our customer appenders are never stopped leading to resource leaks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)