Package ch.qos.logback.classic.servlet
Class LogbackServletContextListener
java.lang.Object
ch.qos.logback.classic.servlet.LogbackServletContextListener
- All Implemented Interfaces:
EventListener
,javax.servlet.ServletContextListener
public class LogbackServletContextListener
extends Object
implements javax.servlet.ServletContextListener
Allows for graceful shutdown of the
LoggerContext
associated with
this web-app.- Since:
- 1.1.10
- Author:
- Ceki Gulcu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextDestroyed
(javax.servlet.ServletContextEvent sce) void
contextInitialized
(javax.servlet.ServletContextEvent sce)
-
Constructor Details
-
LogbackServletContextListener
public LogbackServletContextListener()
-
-
Method Details
-
contextInitialized
- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-