Module com.aoindustries.web.struts
Package com.aoindustries.web.struts
Class TicketLoggingInitializer
java.lang.Object
com.aoindustries.web.struts.TicketLoggingInitializer
- All Implemented Interfaces:
EventListener
,ServletContextListener
Logs to tickets using
SiteSettings.getRootAoservConnector()
and TicketLoggingHandler
.
Only adds itself if there are no loggers with any handler that is a
TicketLoggingHandler
. Thus, any logging.properties
configuration will take priority.
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
-
Constructor Details
-
TicketLoggingInitializer
public TicketLoggingInitializer()
-
-
Method Details
-
contextInitialized
- Specified by:
contextInitialized
in interfaceServletContextListener
-
contextDestroyed
- Specified by:
contextDestroyed
in interfaceServletContextListener
-