Hi,

I’m migrating a web application running on Tomcat from log4j to log4j2.
 
The web application has Filters, ServletContextListeners and Servlets .
 
Log is expected to be addressed by a Log4jServletContextListener whilst default 
log is addressed by a log4j2.xml in classpath.
 
Filters and Servlets are now logging in the expected log whilst 
ServletContextListeners are logging in default log.
 
Do you think this is the right behaviour or there could be an error in my 
configuration ?
 
Regards,
 
Giovanni

Reply via email to