Re: log4j initialization does not seem to happen when Tomcat service is started

2024-03-14 Thread Piers Uso Walter
Hi Piotr, Thanks for your explanation. Indeed, once I hard code the path to the log4j configuration file into web.xml, logging works in both cases (app undeployment/deployment as well as Tomcat shutdown/restart). However, what I was trying to achieve by using a servlet context listener was

Deprecation of Log4j Supplier in 2.x...why? 

2024-03-14 Thread Jeffrey.Thomas
Hello Log4j Team, One of the great new features of Log4j2 is the lambda lazy logging. Since we migrated to Log4j2 we have liberally been trying to take advantage of this where we can. In the last few releases though, in preparation for Log4j 3.x the Log4j Supplier has been deprecated without