cseewald commented on issue #1782: URL: https://github.com/apache/logging-log4j2/issues/1782#issuecomment-1713324980
That is definitely unfortunate. I think changing the documentation of the `org.apache.logging.log4j.web.Log4jServletContextListener` would definitely help and also not make it look like a 2nd class citizen in the docs which should not be used anymore nowadays. I think counting the the number of listeners does not help as the `contextDestroyed` method added by `Log4jServletContainerInitializer` (via adding `Log4jServletContextListener`) will always be called first. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
