<!-- Logback configuration; NOTE: This should be the first ServletContextListener in your web.xml! --><listener><listener-class>ch.qos.logback.classic.selector.servlet.ContextDetachingSCL</listener-class></listener>